Skip to content
pkgseek
Back to CVE search

CVE-2022-40304

high · 7.8

An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.

First indexed 10/14/2022View on NVD

Advisory Facts

Markdown

CVE-2022-40304 is rated HIGH (7.8), with 22 indexed affected package builds across 4 distributions.

Severity / Score
HIGH (7.8)
Affected builds
22
Affected distros
4
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2022-40304?locale=en

Distribution-aware status

4
Distributions
22
Package/release records
6
Vendor advisories
22
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

22 affected package/release combinations
libxml2
3x86_64
2.9.7-13.0.1.al8.1Fixed in 2.9.7-15.0.1.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2
libxml2-devel
3x86_64
2.9.7-13.0.1.al8.1Fixed in 2.9.7-15.0.1.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2-devel
python3-libxml2
3x86_64
2.9.7-13.0.1.al8.1Fixed in 2.9.7-15.0.1.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-libxml2
libxml2
8i686, x86_64
2.9.7-15.el8Fixed in 2.9.7-15.el8_7.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2
libxml2-devel
8i686, x86_64
2.9.7-15.el8Fixed in 2.9.7-15.el8_7.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2-devel
python3-libxml2
8x86_64
2.9.7-15.el8Fixed in 2.9.7-15.el8_7.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-libxml2
libxml2
9i686, x86_64
2.9.13-2.el9Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2
libxml2-devel
9i686, x86_64
2.9.13-2.el9Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2-devel
python3-libxml2
9x86_64
2.9.13-2.el9Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-libxml2
libxml2
9.8i686, x86_64
2.9.13-1.el9_0.1Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2
libxml2-devel
9.8i686, x86_64
2.9.13-1.el9_0.1Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libxml2-devel
python3-libxml2
9.8x86_64
2.9.13-1.el9_0.1Fixed in 2.9.13-3.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-libxml2

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.