CVE-2022-32511
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
2.43% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-5c5f-7vfq-3732

Description

jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
jmespath (RubyGems)before 1.6.1GitHub Advisory Database
jmespath jmespathbefore 1.6.1NVD
fedoraproject fedora35, 36NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.

NVD (es)

jmespath.rb (también se conoce como JMESPath para Ruby) versiones anteriores a 1.6.1, usa JSON.load en una situación en la que es preferible JSON.parse

References

https://github.com/jmespath/jmespath.rb/pull/55patch, third-party-advisory, web
https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1third-party-advisory, web
https://stackoverflow.com/a/30050571/580231third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2022-32511advisory
https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49web
https://github.com/jmespath/jmespath.rbpackage
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.ymlweb
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTPweb
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTPweb

Sources

SourceRecordLicence
CVE ListCVE-2022-32511 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-5c5f-7vfq-3732 changed 2026-09-10CC-BY-4.0
NVDCVE-2022-32511 changed 2026-10-08Public domain