lxml: CVE-2022-2309

Related Vulnerabilities: CVE-2022-2309  

Debian Bug report logs - #1014766
lxml: CVE-2022-2309

Package: src:lxml; Maintainer for src:lxml is Matthias Klose <doko@debian.org>;

Reported by: Moritz Mühlenhoff <jmm@inutil.org>

Date: Mon, 11 Jul 2022 18:00:01 UTC

Severity: important

Tags: security, upstream

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, team@security.debian.org, Matthias Klose <doko@debian.org>:
Bug#1014766; Package src:lxml. (Mon, 11 Jul 2022 18:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Mühlenhoff <jmm@inutil.org>:
New Bug report received and forwarded. Copy sent to team@security.debian.org, Matthias Klose <doko@debian.org>. (Mon, 11 Jul 2022 18:00:04 GMT) (full text, mbox, link).


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

From: Moritz Mühlenhoff <jmm@inutil.org>
To: submit@bugs.debian.org
Subject: lxml: CVE-2022-2309
Date: Mon, 11 Jul 2022 19:56:50 +0200
Source: lxml
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for lxml.

CVE-2022-2309[0]:
| NULL Pointer Dereference allows attackers to cause a denial of service
| (or application crash). This only applies when lxml is used together
| with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not
| affected. It allows triggering crashes through forged input data,
| given a vulnerable code sequence in the application. The vulnerability
| is caused by the iterwalk function (also used by the canonicalize
| function). Such code shouldn't be in wide-spread use, given that
| parsing + iterwalk would usually be replaced with the more efficient
| iterparse function. However, an XML converter that serialises to C14N
| would also be vulnerable, for example, and there are legitimate use
| cases for this code sequence. If untrusted input is received (also
| remotely) and processed via iterwalk function, a crash can be
| triggered.

https://huntr.dev/bounties/8264e74f-edda-4c40-9956-49de635105ba/
https://github.com/lxml/lxml/commit/86368e9cf70a0ad23cccd5ee32de847149af0c6f (lxml-4.9.1)

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-2022-2309
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2309

Please adjust the affected versions in the BTS as needed.



Added tag(s) upstream. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Mon, 11 Jul 2022 18:51:02 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: Tue Jul 12 13:16:23 2022; 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.