CVE-2022-2309
Summary
| CVE | CVE-2022-2309 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-05 10:15:00 UTC |
| Updated | 2023-11-07 03:46:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 36 Update: python-lxml-4.7.1-3.fc36 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| lxml: Multiple Vulnerabilities (GLSA 202208-06) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| [SECURITY] Fedora 36 Update: python-lxml-4.7.1-3.fc36 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Fix a crash when incorrect parser input occurs together with usages o… · lxml/lxml@86368e9 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 37 Update: python-lxml-4.9.1-1.fc37 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| CVE-2022-2309 lxml Vulnerability in NetApp Products | NetApp Product Security |
CONFIRM |
security.netapp.com |
|
| [SECURITY] Fedora 37 Update: python-lxml-4.9.1-1.fc37 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| huntr – Security Bounties for any GitHub repository |
CONFIRM |
huntr.dev |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160286 Oracle Enterprise Linux Security Update for python-lxml (ELSA-2022-8226)
- 183150 Debian Security Update for lxml (CVE-2022-2309)
- 199063 Ubuntu Security Notification for libxml2 Vulnerabilities (USN-5760-1)
- 199399 Ubuntu Security Notification for libxml2 Vulnerabilities (USN-6028-2)
- 240874 Red Hat Update for python-lxml (RHSA-2022:8226)
- 283127 Fedora Security Update for python (FEDORA-2022-ed0eeb6a20)
- 354712 Amazon Linux Security Advisory for python-lxml : ALAS2022-2023-264
- 355116 Amazon Linux Security Advisory for python-lxml : ALAS2023-2023-034
- 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
- 502526 Alpine Linux Security Update for libxml2
- 502740 Alpine Linux Security Update for libxml2
- 502786 Alpine Linux Security Update for py3-lxml
- 672101 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2303)
- 672122 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2332)
- 672140 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2447)
- 672202 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2478)
- 672255 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2663)
- 672306 EulerOS Security Update for python-lxml (EulerOS-SA-2022-2695)
- 710581 Gentoo Linux lxml Multiple Vulnerabilities (GLSA 202208-06)
- 752517 SUSE Enterprise Linux Security Update for python-lxml (SUSE-SU-2022:2908-1)
- 753470 SUSE Enterprise Linux Security Update for python-lxml (SUSE-SU-2022:2878-1)
- 902440 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (10049)
- 902441 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (10048)
- 902444 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (10058)
- 902447 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (10059)
- 903932 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (10059-1)
- 903965 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (10058-1)
- 903982 Common Base Linux Mariner (CBL-Mariner) Security Update for python-lxml (10049-1)
- 903993 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (10048-1)
- 940799 AlmaLinux Security Update for python-lxml (ALSA-2022:8226)
- 960561 Rocky Linux Security Update for python-lxml (RLSA-2022:8226)