libxml2: CVE-2017-18258: Set memory limit for LZMA decompression

Related Vulnerabilities: CVE-2017-18258   CVE-2018-9251  

Debian Bug report logs - #895245
libxml2: CVE-2017-18258: Set memory limit for LZMA decompression

version graph

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

Date: Sun, 8 Apr 2018 19:21:02 UTC

Severity: important

Tags: patch, security, upstream

Found in version libxml2/2.9.1+dfsg1-5

Fixed in version libxml2/2.9.7+dfsg-1

Fix blocked by 895195: libxml2: CVE-2018-9251

Forwarded to https://bugzilla.gnome.org/show_bug.cgi?id=786696

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, team@security.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#895245; Package src:libxml2. (Sun, 08 Apr 2018 19:21: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, team@security.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Sun, 08 Apr 2018 19:21: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-2017-18258: Set memory limit for LZMA decompression
Date: Sun, 08 Apr 2018 21:17:16 +0200
Source: libxml2
Version: 2.9.1+dfsg1-5
Severity: important
Tags: patch security upstream
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=786696
Control: fixed -1 2.9.7+dfsg-1
Control: block -1 by 895195

Hi,

The following vulnerability was published for libxml2.

CVE-2017-18258[0]:
| The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote
| attackers to cause a denial of service (memory consumption) via a
| crafted LZMA file, because the decoder functionality does not restrict
| memory usage to what is required for a legitimate file.

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

It's important though to not apply the upstream commit
e2a9122b8dde53d320750451e9907a7dcb2ca8bb without adressing the
upstream issue https://bugzilla.gnome.org/show_bug.cgi?id=794914
(otherwise libxml2 will be opened to CVE-2018-9251 as it is now the
case for the libxml2 upload to experimental, thus i added a block to
indicate that).

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2017-18258
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18258
[1]  https://bugzilla.gnome.org/show_bug.cgi?id=786696
[2] https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb

Regards,
Salvatore



Marked as fixed in versions libxml2/2.9.7+dfsg-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Sun, 08 Apr 2018 19:21:04 GMT) (full text, mbox, link).


Added blocking bug(s) of 895245: 895195 Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Sun, 08 Apr 2018 19:21:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 12:58:02 2019; Machine Name: buxtehude

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.