{"id":"CVE-2022-32511","aliases":["CVE-2022-32511","GHSA-5c5f-7vfq-3732"],"related":[],"kind":"vulnerability","state":"published","title":"JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable","summary":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-06-06T21:55:11.000Z","modified":"2026-10-08T22:17:21.710Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"RubyGems","package":"jmespath","purl":"pkg:gem/jmespath","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.6.1"}],"vendor":"jmespath","product":"jmespath","cpe":"cpe:2.3:a:jmespath:jmespath:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jmespath/jmespath.rb/pull/55","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://stackoverflow.com/a/30050571/580231","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32511","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jmespath/jmespath.rb","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-08T21:14:23.406Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-32511","url":"https://www.cve.org/CVERecord?id=CVE-2022-32511","licence":"CVE Terms of Use","modified":"2026-10-08T21:24:18.484Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5c5f-7vfq-3732","url":"https://github.com/advisories/GHSA-5c5f-7vfq-3732","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:49.332Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-32511","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32511","licence":"Public domain","modified":"2026-10-08T22:17:21.710Z"}],"updatedAt":"2026-11-25T22:58:12.134Z","epss":{"score":0.02425,"percentile":0.8466,"date":"2026-12-01T12:00:22.000Z"}}