{"id":"CVE-2022-3433","aliases":["DEBIAN-CVE-2022-3433","EUVD-2022-42809","GHSA-p383-f595-x4qw","HSEC-2023-0001","UBUNTU-CVE-2022-3433"],"status":"published","title":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse...","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00852,"percentile":0.58512,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-326","CWE-328","CWE-400"],"published":"2022-10-10T00:00:00Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"Debian:12","package":"haskell-aeson","fixed_in":["2.0.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"haskell-aeson","fixed_in":["2.0.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"haskell-aeson","fixed_in":["2.0.3.0-1"],"sources":["osv"]},{"ecosystem":"Hackage","package":"aeson","fixed_in":["2.0.1.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3.0-1"}]}]},{"source":"osv","ecosystem":"Hackage","package":"aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0.0"},{"fixed":"2.0.1.0"}]}],"versions":["0.10.0.0","0.11.0.0","0.11.1.0","0.11.1.1","0.11.1.2","0.11.1.3","0.11.1.4","0.11.2.0","0.11.2.1","0.11.3.0","0.4.0.0","0.4.0.1","0.5.0.0","0.6.0.0","0.6.0.1","0.6.0.2","0.6.1.0","0.6.2.0","0.6.2.1","0.7.0.0","0.7.0.1","0.7.0.2","0.7.0.3","0.7.0.4","0.7.0.5","0.7.0.6","0.8.0.0","0.8.0.1","0.8.0.2","0.8.1.0","0.8.1.1","0.9.0.0","0.9.0.1","1.0.0.0","1.0.1.0","1.0.2.0","1.0.2.1","1.1.0.0","1.1.1.0","1.1.2.0","1.2.0.0","1.2.1.0","1.2.2.0","1.2.3.0","1.2.4.0","1.3.0.0","1.3.1.0","1.3.1.1","1.4.0.0","1.4.1.0","1.4.2.0","1.4.3.0","1.4.4.0","1.4.5.0","1.4.6.0","1.4.7.0","1.4.7.1","1.5.0.0","1.5.1.0","1.5.2.0","1.5.3.0","1.5.4.0","1.5.4.1","1.5.5.0","1.5.5.1","1.5.6.0","2.0.0.0"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0.2-3","0.8.0.2-5","0.10.0.0-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2.1-6build1","1.1.2.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2.0-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"haskell-aeson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7.1-2build2"]}],"products":[{"vendor":"haskell","product":"aeson"}],"references":[{"url":"https://cs-syd.eu/posts/2021-09-11-json-vulnerability","tags":["x_transferred","Exploit","Patch","Technical Description","Third Party Advisory","web","article","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3433","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p383-f595-x4qw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3433.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-3433","tags":["advisory"]},{"url":"https://frasertweedale.github.io/blog-fp/posts/2021-10-12-aeson-hash-flooding-protection.html","tags":["article"]},{"url":"https://github.com/haskell/aeson/issues/864","tags":["discussion","report"]},{"url":"https://ubuntu.com/security/CVE-2022-3433","tags":["report"]},{"url":"https://github.com/haskell/aeson/commit/582a844d8028f62e409048a4caae187b27e8e697","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3433","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-3433","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T00:00:00Z","modified":"2024-08-03T01:07:06.587Z","cwes":["CWE-328"],"updated_at":"2026-11-02T14:34:33.24035Z"}],"euvd":[{"id":"EUVD-2022-42809","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T00:00:00Z","modified":"2024-08-03T01:07:06Z","updated_at":"2026-11-03T03:25:56.994006Z"}],"ghsa":[{"id":"GHSA-p383-f595-x4qw","title":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse...","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-11T12:00:47Z","modified":"2023-07-21T18:30:36Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-326","CWE-328","CWE-400"],"updated_at":"2026-11-02T14:54:42.596364Z"}],"nvd":[{"id":"CVE-2022-3433","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T22:15:10.41Z","modified":"2026-06-17T04:59:31.133Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-328","CWE-326"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"UBUNTU-CVE-2022-3433","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T22:15:00Z","modified":"2026-04-22T13:25:22.525739Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"CVE-2022-3433","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T00:00:00Z","modified":"2026-10-28T02:31:08.610878309Z","cwes":["CWE-328"],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"DEBIAN-CVE-2022-3433","description":"The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.","status":"published","published":"2022-10-10T22:15:10.41Z","modified":"2026-11-03T06:02:38.165138345Z","updated_at":"2026-11-03T06:43:43.638289Z"},{"id":"HSEC-2023-0001","title":"Hash flooding vulnerability in aeson","description":"# Hash flooding vulnerability in aeson\n\n*aeson* was vulnerable to hash flooding (a.k.a. hash DoS).  The\nissue is a consequence of the HashMap implementation from\n*unordered-containers*.  It results in a denial of service through\nCPU consumption.  This technique has been used in real-world attacks\nagainst a variety of languages, libraries and frameworks over the\nyears.\n","status":"published","published":"2025-11-14T14:45:34Z","modified":"2025-11-14T18:15:27.977121Z","updated_at":"2026-11-02T15:47:17.805107Z"}]}}
