{"id":"CVE-2022-32511","aliases":["DEBIAN-CVE-2022-32511","EUVD-2022-5934","GHSA-5c5f-7vfq-3732","UBUNTU-CVE-2022-32511"],"status":"published","title":"JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02425,"percentile":0.84417,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2022-06-06T21:55:11Z","modified":"2026-10-28T02:30:30Z","fixes":[{"ecosystem":"RubyGems","package":"jmespath","fixed_in":["1.6.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-jmespath","fixed_in":["1.6.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-jmespath","fixed_in":["1.6.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-jmespath","fixed_in":["1.6.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1","1.4.0-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-2","1.4.0-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ruby-jmespath","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.1-1","1.6.2-1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"jmespath","product":"jmespath"}],"references":[{"url":"https://github.com/jmespath/jmespath.rb/pull/55","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://stackoverflow.com/a/30050571/580231","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32511","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml","tags":["web"]},{"url":"https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49","tags":["web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5c5f-7vfq-3732"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32511.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-32511","tags":["advisory"]},{"url":"https://github.com/jmespath/jmespath.rb","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-32511","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-32511","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-32511","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T21:55:11Z","modified":"2026-10-08T21:24:18.484Z","updated_at":"2026-11-02T14:34:36.917505Z"}],"euvd":[{"id":"EUVD-2022-5934","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T21:55:11Z","modified":"2026-10-08T21:24:18Z","updated_at":"2026-11-02T17:27:25.942984Z"}],"ghsa":[{"id":"GHSA-5c5f-7vfq-3732","title":"JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-07T00:00:31Z","modified":"2026-07-08T17:32:26Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:40:40.389795Z"}],"nvd":[{"id":"CVE-2022-32511","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T22:15:08.357Z","modified":"2026-10-08T22:17:21.71Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"DEBIAN-CVE-2022-32511","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T22:15:08.357Z","modified":"2026-11-03T08:00:11.806062588Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T08:25:15.646766Z"},{"id":"GHSA-5c5f-7vfq-3732","title":"JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-07T00:00:31Z","modified":"2026-09-10T03:49:49.332038595Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"UBUNTU-CVE-2022-32511","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T22:15:00Z","modified":"2026-10-17T12:56:17.002887051Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"CVE-2022-32511","description":"jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.","status":"published","published":"2022-06-06T21:55:11Z","modified":"2026-10-28T02:30:30.091900866Z","updated_at":"2026-11-02T15:44:25.860945Z"}]}}
