HSEC-2023-0001
Dashboard / Vulnerabilities / HSEC-2023-0001
Summary: Hash flooding vulnerability in aeson
Details: # Hash flooding vulnerability in aeson *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.
References: https://cs-syd.eu/posts/2021-09-11-json-vulnerability, https://frasertweedale.github.io/blog-fp/posts/2021-10-12-aeson-hash-flooding-protection.html, https://github.com/haskell/aeson/issues/864
Affected packages
Package
Name: aeson
Purl: pkg:hackage/aeson
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0.4.0.0
Fixed -2.0.1.0
Affected versions
0.10.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
