CVE-2022-32511 json
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
published 2022-06-06 4 y ago modified 2026-10-08 31 d ago also GHSA-5c5f-7vfq-3732 , EUVD-2022-5934
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
Patch / fix
- rubygems jmespath 1.6.1
- jmespath jmespath 1.6.1
- ruby-jmespath Debian 14, Debian 13, Debian 12 1.6.1-1
debian advisories DEBIAN-CVE-2022-32511
- github.com/jmespath/jmespath.rb@e884128 commit
- github.com/jmespath/jmespath.rb#55 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-32511 updated
jmespath.rb: incorrect json parsing
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 31 d ago
Exploit prediction
2.43% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | jmespath | <1.6.1 |
1.6.1 |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/jmespath/jmespath.rb/pull/55
web, patch, third-party-advisory
-
github.com
/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/
vendor-advisory
-
github.com
/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1
web, third-party-advisory
-
stackoverflow.com
/a/30050571/580231
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-32511
advisory
-
github.com
/jmespath/jmespath.rb
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5
web
Sources
- CVE List CVE-2022-32511
- GitHub Advisory GHSA-5c5f-7vfq-3732
- NVD CVE-2022-32511
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.