CVE-2022-32511
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
CVE-2022-32511- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
CVE-2022-32511- Updated
- 2026-11-02
EUVDEUVD-2022-5934 No score
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
EUVD-2022-5934- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5c5f-7vfq-3732
9.8
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
GHSA-5c5f-7vfq-3732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-32511
9.8
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
DEBIAN-CVE-2022-32511- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVGHSA-5c5f-7vfq-3732
9.8
JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
GHSA-5c5f-7vfq-3732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-32511
9.8
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
UBUNTU-CVE-2022-32511- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
- Record
CVE-2022-32511- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jmespathRubyGems |
before 1.6.1 | 1.6.1 |
ruby-jmespathDebian:12 |
before 1.6.1-1 | 1.6.1-1 |
ruby-jmespathDebian:13 |
before 1.6.1-1 | 1.6.1-1 |
ruby-jmespathDebian:14 |
before 1.6.1-1 | 1.6.1-1 |
jmespathRubyGems |
before 1.6.1, plus listed versions 0.2.00.9.01.0.01.0.11.0.2 Show 14 moreShow less1.1.01.1.11.1.21.1.31.21.2.11.2.21.2.31.2.41.3.01.3.11.4.01.5.01.6.0 |
1.6.1 |
ruby-jmespathUbuntu:20.04:LTS |
All versions, plus listed versions 1.4.0-11.4.0-2 |
None known |
ruby-jmespathUbuntu:22.04:LTS |
All versions, plus listed versions 1.4.0-21.4.0-3 |
None known |
ruby-jmespathUbuntu:24.04:LTS |
All versions, plus listed versions 1.6.1-1 |
None known |
ruby-jmespathUbuntu:25.10 |
All versions, plus listed versions 1.6.1-1 |
None known |
ruby-jmespathUbuntu:26.10 |
All versions, plus listed versions 1.6.2-1 |
None known |
ruby-jmespathUbuntu:26.04:LTS |
All versions, plus listed versions 1.6.1-11.6.2-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-32511 is a critical vulnerability (CVSS 9.8) in Jmespath, published June 6, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.43%, the 84th percentile. Fixed in jmespath 1.6.1.
References
github.com/jmespath/jmespath.rb/pull/55
github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1
stackoverflow.com/a/30050571/580231
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP
nvd.nist.gov/vuln/detail/CVE-2022-32511
Show 10 moreShow less
github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml
github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49
lists.fedoraproject.org/archives/list/[email protected]/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP
lists.fedoraproject.org/archives/list/[email protected]/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5
github.com/advisories/GHSA-5c5f-7vfq-3732
github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32511.json
security-tracker.debian.org/tracker/CVE-2022-32511
github.com/jmespath/jmespath.rb
ubuntu.com/security/CVE-2022-32511
cve.org/CVERecord?id=CVE-2022-32511