cbcvebase.
CVE-2022-2309
published 2022-07-05

CVE-2022-2309: 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…

PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.97%
77.9th percentile
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.

Affected

22 ranges
VendorProductVersion rangeFixed in
debianlibxml2< libxml2 2.9.14+dfsg-1.3~deb12u1 (bookworm)libxml2 2.9.14+dfsg-1.3~deb12u1 (bookworm)
debianlxml< libxml2 2.9.14+dfsg-1.3~deb12u1 (bookworm)libxml2 2.9.14+dfsg-1.3~deb12u1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
lxmllxml< 4.9.14.9.1
lxmllxml>= 0 < 4.9.1-14.9.1-1
lxmllxml>= 0 < 4.9.1-14.9.1-1
lxmllxml>= 0 < 4.9.1-14.9.1-1
lxmllxml>= 0 < 4.9.14.9.1
lxmllxml_lxml>= unspecified < 4.9.14.9.1
msrccbl2_libxml2_2.10.0-1_on_cbl_mariner_2.0
msrccbl2_python-lxml_4.9.1-1_on_cbl_mariner_2.0
msrccm1_libxml2_2.9.14-2_on_cbl_mariner_1.0
msrccm1_python-lxml_4.7.1-2_on_cbl_mariner_1.0
nokogirinokogiri>= 0 < 1.13.91.13.9
xmlsoftlibxml2>= 0 < 2.9.10+dfsg-6.7+deb11u52.9.10+dfsg-6.7+deb11u5
xmlsoftlibxml2>= 0 < 2.9.14+dfsg-1.3~deb12u12.9.14+dfsg-1.3~deb12u1
xmlsoftlibxml2>= 0 < 2.9.14+dfsg-1.32.9.14+dfsg-1.3
xmlsoftlibxml2>= 0 < 2.9.14+dfsg-1.32.9.14+dfsg-1.3
xmlsoftlibxml2>= 0 < 2.9.4+dfsg1-6.1ubuntu1.82.9.4+dfsg1-6.1ubuntu1.8
xmlsoftlibxml2>= 0 < 2.9.10+dfsg-5ubuntu0.20.04.52.9.10+dfsg-5ubuntu0.20.04.5
xmlsoftlibxml2>= 0 < 2.9.13+dfsg-1ubuntu0.22.9.13+dfsg-1ubuntu0.2

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
ghsa7.5HIGH
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.