CVE-2022-3433: haskell aeson Use of Weak Hash
CVSS: 6.5v3.1MediumModified
AliasesUBUNTU-CVE-2022-3433DEBIAN-CVE-2022-3433
Published 10-10-2022Last modified 03-08-2024
Vulnerability summary
CVE-2022-3433 is a medium (CVSS 6.5) Use of Weak Hash vulnerability in haskell aeson. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.5/10
010
Medium · v3.1 (NVD)EPSS score
0.83%
0%100%
Low · +0.07 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Timeline
- 10-10-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 versionMedium 6.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.07 pp
From 0.77% on 19-09-2026
19-09-202619-10-2026
EPSS score0.83%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (cs-syd.eu)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-328Use of Weak HashThe product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack).
- CWE-326Inadequate Encryption StrengthThe product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.
Affected systems
Debian1 product
- haskell-aeson< 2.0.3.0-1
Haskell1 product
- aeson< 2.0.1.0
Ubuntu1 product
- haskell-aesonAll versions (No fix recorded)
3 vendors · 3 products
References
6 links- cs-syd.eu/posts/2021-09-11-json-vulnerabilityREPORTExploitPatchTechnical DescriptionThird Party Advisory