Logo
vulnerabilityCVE-2022-2309
Name
CVE-2022-2309
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
python3-lxml
Patched

Vulnerability Ratings#


7.5
CVSSv31
5.3
other
5
CVSSv2

Others affected component#


Name
Project
Project Version
Version
Status
yocto
scarthgap
5.0.2
Not Affected

Resolved with patches#


python3-lxml (yocto:kirkstone)

#
Title
Author
Resolve
1
Fix a crash when incorrect parser input occurs together with
Stefan Behnel <stefan_ml@behnel.de>
CVE-2022-2309