PT-2022-7707

CVE-2022-2309

·

Published

2022-07-05

·

Updated

2026-10-31

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions lxml versions 2.9.10 through 2.9.14
Description The issue allows attackers to cause a denial of service or application crash when lxml is used together with libxml2. It is triggered by forged input data and a vulnerable code sequence in the application, specifically through the iterwalk function, which is also used by the canonicalize function. This can be exploited if untrusted input is received and processed via the iterwalk function, potentially leading to a crash. The vulnerability is notable when parsing and iterwalk are used together, although this combination is less common due to the availability of more efficient alternatives like iterparse. However, there are legitimate use cases, such as in an XML converter that serializes to C14N, where this vulnerability could be exploited.
Recommendations For versions 2.9.10 through 2.9.14, consider disabling the iterwalk function until a patch is available to prevent potential crashes from forged input data. Restrict access to untrusted input to minimize the risk of exploitation. If possible, replace the iterwalk function with the more efficient iterparse function to reduce the vulnerability's impact.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-WRXV-2J5Q-M38W
ALSA-2022:8226
ALSA-2022_8226
ALT-PU-2022-2865
ALT-PU-2023-1150
ALT-PU-2023-5651
ALT-PU-2023-6474
ALT-PU-2024-15140
AZL-10058
AZL-10059
CLEANSTART-2026-LL63133
CLSA-2026-1779225366
DLA-3878-1
INFSA-2022_8226
MGASA-2022-0331
MGASA-2023-0157
OESA-2022-1790
OESA-2024-1413
OESA-2024-1414
OPENSUSE-SU-2022_2908-1
OPENSUSE-SU-2024:12273-1
OPENSUSE-SU-2024:12290-1
PYSEC-2022-230
RHSA-2022:8226
RHSA-2022_8226
RLSA-2022:8226
ROSA-SA-2024-2467
SUSE-SU-2022:2878-1
SUSE-SU-2022_2878-1
SUSE-SU-2022:2908-1
SUSE-SU-2022_2908-1
USN-5760-1
USN-6028-2
Found an issue in the description? Have something to add? Feel free to write us 👾