GitHub Advisoryadvisory · RubyGems
GHSA-5c5f-7vfq-3732 JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable
CRITICAL
Official page ↗
- Aliases
- CVE-2022-32511
- Ecosystem
- RubyGems
- Packages
- jmespath
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2022-06-07
Affected packages
• RubyGems jmespath: < 1.6.1 → fixed in 1.6.1
Description
jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.
Related
Alias · CVE (1)
- CVE-2022-32511 jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable. vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-32511 advisory
- https://github.com/jmespath/jmespath.rb/pull/55 web
- https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49 web
- https://github.com/jmespath/jmespath.rb package
- https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml 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://lists.fedoraproject.org/archives/list/[email protected]/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5 web
- https://stackoverflow.com/a/30050571/580231 web