CVE-2022-32511
CRITICAL 9.8CVSS 3.1JMESPath 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.
- Published
- 6 Jun 2022
- Last modified
- 8 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-5c5f-7vfq-3732
- Sources
- NVDJSONOSV GHSA-5c5f-7vfq-3732JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jmespath | jmespathcpe:2.3:a:jmespath:jmespath:*:*:*:*:*:ruby:*:* |
< 1.6.1 | 1.6.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| OSV | RubyGems | jmespath | < 1.6.1 | 1.6.1 |
References
- https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1 · Third Party Advisory, WEB
- https://github.com/jmespath/jmespath.rb/pull/55 · Patch, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/ · WEB
- https://stackoverflow.com/a/30050571/580231 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-32511 · ADVISORY
- https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49 · WEB
- https://github.com/jmespath/jmespath.rb · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jun 2022)