{"id":"GHSA-5c5f-7vfq-3732","summary":"JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable","details":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","aliases":["CVE-2022-32511"],"modified":"2026-09-10T03:49:49.332038595Z","published":"2022-06-07T00:00:31Z","database_specific":{"cwe_ids":["CWE-502"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-06-07T21:14:51Z","nvd_published_at":"2022-06-06T22:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32511"},{"type":"WEB","url":"https://github.com/jmespath/jmespath.rb/pull/55"},{"type":"WEB","url":"https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49"},{"type":"PACKAGE","url":"https://github.com/jmespath/jmespath.rb"},{"type":"WEB","url":"https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5"},{"type":"WEB","url":"https://stackoverflow.com/a/30050571/580231"}],"affected":[{"package":{"name":"jmespath","ecosystem":"RubyGems","purl":"pkg:gem/jmespath"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"versions":["0.2.0","0.9.0","1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.1.2","1.1.3","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.4.0","1.5.0","1.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-5c5f-7vfq-3732/GHSA-5c5f-7vfq-3732.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}