Bug 2094993 (CVE-2022-32511)

Summary: CVE-2022-32511 jmespath.rb: incorrect json parsing
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: valtri
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-08 21:49:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2094994, 2094995    
Bug Blocks: 2095008    

Description Anten Skrabec 2022-06-08 19:18:02 UTC
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.

https://stackoverflow.com/a/30050571/580231
https://github.com/jmespath/jmespath.rb/pull/55
https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1

Comment 1 Anten Skrabec 2022-06-08 19:19:35 UTC
Created rubygem-jmespath tracking bugs for this issue:

Affects: epel-7 [bug 2094994]
Affects: fedora-all [bug 2094995]

Comment 2 Product Security DevOps Team 2022-06-08 21:49:41 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.