libxml2: CVE-2021-3541: Exponential entity expansion attack bypasses all existing protection mechanisms

Related Vulnerabilities: CVE-2021-3541   CVE-2003-1564   cve-2021-3541  

Debian Bug report logs - #988603
libxml2: CVE-2021-3541: Exponential entity expansion attack bypasses all existing protection mechanisms

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sun, 16 May 2021 19:15:02 UTC

Severity: important

Tags: security, upstream

Found in versions libxml2/2.9.4+dfsg1-7+deb10u1, libxml2/2.9.4+dfsg1-7, libxml2/2.9.10+dfsg-6.6

Forwarded to https://gitlab.gnome.org/GNOME/libxml2/-/issues/228

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#988603; Package src:libxml2. (Sun, 16 May 2021 19:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Sun, 16 May 2021 19:15:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libxml2: CVE-2021-3541: Exponential entity expansion attack bypasses all existing protection mechanisms
Date: Sun, 16 May 2021 21:10:59 +0200
Source: libxml2
Version: 2.9.10+dfsg-6.6
Severity: important
Tags: security upstream
Forwarded: https://gitlab.gnome.org/GNOME/libxml2/-/issues/228
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for libxml2.

CVE-2021-3541[0]:
| Exponential entity expansion attack bypasses all existing protection
| mechanisms

Technical details for the vulnerability are unfortunately not public,
but it looks that the flaw is essentially a variant of the billion
laughts attack (CVE-2003-1564) which can lead to denial of service for
applications using libxml2.

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-3541
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3541
[1] https://gitlab.gnome.org/GNOME/libxml2/-/issues/228
[2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/8598060bacada41a0eb09d95c97744ff4e428f8e

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Marked as found in versions libxml2/2.9.4+dfsg1-7+deb10u1. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Sun, 16 May 2021 19:36:03 GMT) (full text, mbox, link).


Marked as found in versions libxml2/2.9.4+dfsg1-7. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Sun, 16 May 2021 19:36:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#988603; Package src:libxml2. (Mon, 17 May 2021 03:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastian Pipping <sebastian@pipping.org>:
Extra info received and forwarded to list. Copy sent to Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Mon, 17 May 2021 03:39:02 GMT) (full text, mbox, link).


Message #14 received at 988603@bugs.debian.org (full text, mbox, reply):

From: Sebastian Pipping <sebastian@pipping.org>
To: 988603@bugs.debian.org
Subject: Technical details of CVE-2021-3541
Date: Sun, 16 May 2021 22:34:35 +0200
Hi!

> Technical details for the vulnerability are unfortunately not public,

I have blogged about the technical details of CVE-2021-3541 at:
https://blog.hartwork.org/posts/cve-2021-3541-parameter-laughs-fixed-in-libxml2-2-9-11/
.

Best, Sebastian



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon May 17 12:44:00 2021; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.