Bug#1009678: haskell-aeson: CVE-2021-41119 - JSON DoS Vulnerability in Haskell's Aeson library

Neil Williams codehelp at debian.org
Thu Apr 14 09:46:48 BST 2022


Source: haskell-aeson
Version: 1.4.7.1-2
Severity: important
Tags: security
X-Debbugs-Cc: codehelp at debian.org, Debian Security Team <team at security.debian.org>


Hi,

The following vulnerability was published for haskell-aeson.

CVE-2021-41119[0]:
| Wire-server is the system server for the wire back-end services.
| Releases prior to v2022-03-01 are subject to a denial of service
| attack via a crafted object causing a hash collision. This collision
| causes the server to spend at least quadratic time parsing it which
| can lead to a denial of service for a heavily used server. The issue
| has been fixed in wire-server 2022-03-01 and is already deployed on
| all Wire managed services. On premise instances of wire-server need to
| be updated to 2022-03-01, so that their backends are no longer
| affected. There are no known workarounds for this issue.

The vulnerable code is in the Aeson library, used by wire-server.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-41119
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41119

Please adjust the affected versions in the BTS as needed.



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-haskell-maintainers mailing list