aeson was vulnerable to hash flooding (a.k.a. hash DoS). The issue is a consequence of the HashMap implementation from unordered-containers. It results in a denial of service through CPU consumption. This technique has been used in real-world attacks against a variety of languages, libraries and frameworks over the years.
{
"repository": "https://github.com/haskell/security-advisories",
"home": "https://github.com/haskell/security-advisories",
"osvs": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export"
}"https://github.com/haskell/security-advisories/blob/generated/osv-export/2023/HSEC-2023-0001.json"
"https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export/2023/HSEC-2023-0001.json"
"https://github.com/haskell/security-advisories/tree/main/advisories/published/2023/HSEC-2023-0001.md"