Every CVE Search/ Get API key

CVE-2022-32511

JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable

9.8 CriticalFix available

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

2.43%Up 1.5 points since Jun 7, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
jmespath
RubyGems
before 1.6.1
1.6.1
ruby-jmespath
Debian:12
before 1.6.1-1
1.6.1-1
ruby-jmespath
Debian:13
before 1.6.1-1
1.6.1-1
ruby-jmespath
Debian:14
before 1.6.1-1
1.6.1-1
jmespath
RubyGems
before 1.6.1, plus listed versions
0.2.00.9.01.0.01.0.11.0.2
Show 14 moreShow less
1.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-jmespath
Ubuntu:20.04:LTS
All versions, plus listed versions
1.4.0-11.4.0-2
None known
ruby-jmespath
Ubuntu:22.04:LTS
All versions, plus listed versions
1.4.0-21.4.0-3
None known
ruby-jmespath
Ubuntu:24.04:LTS
All versions, plus listed versions
1.6.1-1
None known
ruby-jmespath
Ubuntu:25.10
All versions, plus listed versions
1.6.1-1
None known
ruby-jmespath
Ubuntu:26.10
All versions, plus listed versions
1.6.2-1
None known
ruby-jmespath
Ubuntu:26.04:LTS
All versions, plus listed versions
1.6.1-11.6.2-1
None known

History

History
RecordedChangedSources
first indexedCVE 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

Show 10 moreShow less
MoveEnter Open