Vulnerability · Published May 3, 2022 · Assigned by mitre

CVE-2022-29824

Medium 6.5

In plain English

A medium-severity security flaw in the libxml2 package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.8% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)3.8%top 10.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20libxml22.9.14-r0ALPINE-CVE-2022-29824
Alpine:v3.21libxml22.9.14-r0ALPINE-CVE-2022-29824
Alpine:v3.22libxml22.9.14-r0ALPINE-CVE-2022-29824
Alpine:v3.23libxml22.9.14-r0ALPINE-CVE-2022-29824
Alpine:v3.24libxml22.9.14-r0ALPINE-CVE-2022-29824
Debian:12libxml22.9.14+dfsg-1DEBIAN-CVE-2022-29824
Debian:13libxml22.9.14+dfsg-1DEBIAN-CVE-2022-29824
Debian:14libxml22.9.14+dfsg-1DEBIAN-CVE-2022-29824
Rocky Linux:8libxml20:2.9.7-13.el8_6.1RLSA-2022:5317
Rocky Linux:9libxml20:2.9.13-1.el9_0.1RLSA-2022:5250
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.1USN-5422-1
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.1UBUNTU-CVE-2022-29824

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References