Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856397 (CVE-2022-3433) - <dev-haskell/aeson-2.0.3.0: DoS vulnerability
Summary: <dev-haskell/aeson-2.0.3.0: DoS vulnerability
Status: RESOLVED FIXED
Alias: CVE-2022-3433
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-04 14:32 UTC by Robert Greener
Modified: 2022-10-11 00:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Greener 2022-07-04 14:32:00 UTC
CVE-2021-41119[1,2] is caused by a vulnerability in aeson-1.4.7.1. This is documented further here[3].

It means that "The aeson library is not safe to use to consume untrusted input, like the JSON values that a web server might parse. We have put together a DoS exploit to show that this is an immediate threat. We have spent the better part of a year talking to maintainers but did not manage to fix the vulnerability."

This has been fixed in version 2.0.1.0 upstream.

[1] https://security-tracker.debian.org/tracker/CVE-2021-41119
[2] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41119
[3] https://cs-syd.eu/posts/2021-09-11-json-vulnerability

Reproducible: Always
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-05 03:30:08 UTC
Thanks! Ideally a CVE should also be issued for aeson itself.

haskell@: please bump
Comment 2 Jack Todaro 2022-07-20 08:35:35 UTC
(In reply to John Helmert III from comment #1)
> Thanks! Ideally a CVE should also be issued for aeson itself.
> 
> haskell@: please bump

We're still working on this in ::haskell let alone ::gentoo. There are a lot of reverse dependencies that still depend on <dev-haskell/aeson-1.6. But we are working on it.
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-23 17:09:55 UTC
Thanks! Please stable when ready
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-23 22:25:34 UTC
dev-haskell/* is all ~arch, cleanup done, closing. thanks!
Comment 6 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-11 00:50:42 UTC
Looks like this eventually got