CVE-2022-3433
MEDIUM 6.5CVSS 3.1Hash flooding vulnerability in aeson
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.
- Published
- 10 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-326CWE-328
- Also known as
- HSEC-2023-0001
- Sources
- NVDJSONOSV HSEC-2023-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | HSEC | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | haskell | aesoncpe:2.3:a:haskell:aeson:*:*:*:*:*:*:*:* |
< 2.0.1.0 | 2.0.1.0 |
| OSV | Hackage | aeson | >= 0.4.0.0, < 2.0.1.0 | 2.0.1.0 |
References
- https://cs-syd.eu/posts/2021-09-11-json-vulnerability · Exploit, Patch, Technical Description, Third Party Advisory, ARTICLE
- https://frasertweedale.github.io/blog-fp/posts/2021-10-12-aeson-hash-flooding-protection.html · ARTICLE
- https://github.com/haskell/aeson/issues/864 · DISCUSSION
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Oct 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Nov 2025)