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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | aeson | Fixed in 2.0.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | haskell-aeson | 2.0.3.0-1 | — |
| Debian 13 | haskell-aeson | 2.0.3.0-1 | — |
| Debian 12 | haskell-aeson | 2.0.3.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | haskell-aeson | No fix yet | — |
| Ubuntu 20.04 LTS | haskell-aeson | No fix yet | — |
| Ubuntu 18.04 LTS | haskell-aeson | No fix yet | — |
| Ubuntu 16.04 LTS | haskell-aeson | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Hackage | aeson | >= 0.4.0.0, < 2.0.1.0 | 2.0.1.0 | HSEC-2023-0001 |