CVE-2022-2309

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 shouldnt 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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.868

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities are fixed in Nessus 8.15.7Windows
Multiple vulnerabilities are fixed in Nessus Agent (x64) (10.3.1)Windows
Multiple vulnerabilities are fixed in Nessus Agent (10.3.1)Windows
Multiple vulnerabilities are fixed in Tenable Nessus 8.15.7Windows
Multiple vulnerabilities are fixed in Tenable Nessus 10.3.1Windows
Vulnerabilities CVE-2022-2309 are fixed in Python-lxml 4.9.1Windows
GNOME XML library (USN-5760-1) libxml2_2.9.13+dfsg-1ubuntu0.2_i386.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.13+dfsg-1ubuntu0.2_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.14+dfsg-1ubuntu0.1_i386.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.14+dfsg-1ubuntu0.1_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.4+dfsg1-6.1ubuntu1.8_i386.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.4+dfsg1-6.1ubuntu1.8_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.10+dfsg-5ubuntu0.20.04.5_i386.debLinux
GNOME XML library (USN-5760-1) libxml2_2.9.10+dfsg-5ubuntu0.20.04.5_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.13+dfsg-1ubuntu0.2_i386.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.13+dfsg-1ubuntu0.2_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.14+dfsg-1ubuntu0.1_i386.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.14+dfsg-1ubuntu0.1_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.4+dfsg1-6.1ubuntu1.8_i386.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.4+dfsg1-6.1ubuntu1.8_amd64.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.10+dfsg-5ubuntu0.20.04.5_i386.debLinux
GNOME XML library (USN-5760-1) libxml2-utils_2.9.10+dfsg-5ubuntu0.20.04.5_amd64.debLinux
(RHSA-2022:8226) python-lxml security update python-lxml-debugsource-4.6.5-3.el9.x86_64.rpmLinux
(RHSA-2022:8226) python-lxml security update python3-lxml-4.6.5-3.el9.x86_64.rpmLinux
python-lxml security update (RLSA-2022:8226) python3-lxml-4.6.5-3.el9.x86_64.rpmLinux
GNOME XML library (USN-6028-2) libxml2_2.9.14+dfsg-1.1ubuntu0.1_i386.debLinux
GNOME XML library (USN-6028-2) libxml2_2.9.14+dfsg-1.1ubuntu0.1_amd64.debLinux
GNOME XML library (USN-6028-2) libxml2-utils_2.9.14+dfsg-1.1ubuntu0.1_i386.debLinux
GNOME XML library (USN-6028-2) libxml2-utils_2.9.14+dfsg-1.1ubuntu0.1_amd64.debLinux
SUSE-SU-2022:2908-1(SUSE Linux Enterprise Module for Basesystem 15-SP3 ) python3-lxml-4.7.1-150200.3.10.1.x86_64_15_SP3.rpmLinux
SUSE-SU-2022:2908-1(SUSE Linux Enterprise Module for Basesystem 15-SP3 ) python3-lxml-devel-4.7.1-150200.3.10.1.x86_64_15_SP3.rpmLinux
python-lxml Security Update (ALAS-2023-034) python3-lxml-4.7.1-3.amzn2023.0.1.x86_64.rpmLinux
Moderate: python-lxml security update python3-lxml-4.6.5-3.el9.x86_64.rpmLinux
python-lxml Security Update (ALAS2023-2023-034) python3-lxml-4.7.1-3.amzn2023.0.1.x86_64.rpmLinux
Vulnerabilities CVE-2022-2309 are fixed in Python-lxml for linux 4.9.1Linux

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-346982Nessus Agent (x64) (10.8.4) (Manual Upload Required)
PATCH-346981Nessus Agent (10.8.4) (Manual Upload Required)

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234