{"id":"UBUNTU-CVE-2022-3433","details":"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.","modified":"2026-04-22T15:34:55.021558Z","published":"2022-10-10T22:15:00Z","upstream":["CVE-2022-3433"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3433"},{"type":"REPORT","url":"https://cs-syd.eu/posts/2021-09-11-json-vulnerability"},{"type":"REPORT","url":"https://github.com/haskell/aeson/issues/864"},{"type":"REPORT","url":"https://github.com/haskell/aeson/commit/582a844d8028f62e409048a4caae187b27e8e697"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-3433"}],"affected":[{"package":{"name":"haskell-aeson","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/haskell-aeson@0.10.0.0-3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0.2-3","0.8.0.2-5","0.10.0.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libghc-aeson-prof","binary_version":"0.10.0.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3433.json"}},{"package":{"name":"haskell-aeson","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/haskell-aeson@1.1.2.0-1build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2.1-6build1","1.1.2.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libghc-aeson-prof","binary_version":"1.1.2.0-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3433.json"}},{"package":{"name":"haskell-aeson","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/haskell-aeson@1.4.2.0-5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2.0-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libghc-aeson-prof","binary_version":"1.4.2.0-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3433.json"}},{"package":{"name":"haskell-aeson","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/haskell-aeson@1.4.7.1-2build2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.7.1-2build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libghc-aeson-prof","binary_version":"1.4.7.1-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3433.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}