Vulnerability · Published Jun 1, 2021 · Assigned by redhat
CVE-2021-3516
High 7.8
In plain English
A high-severity use-after-free in libxml2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)2.0%top 18.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by xmllint could trigger a use-after-free. The greatest impact of this flaw is to confidentiality, integrity, and availability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libxml2-devel | 2.9.7-9.el8_4.2 | ALSA-2021:2569 |
| Debian:12 | libxml2 | 2.9.10+dfsg-6.6 | DEBIAN-CVE-2021-3516 |
| Debian:13 | libxml2 | 2.9.10+dfsg-6.6 | DEBIAN-CVE-2021-3516 |
| Debian:14 | libxml2 | 2.9.10+dfsg-6.6 | DEBIAN-CVE-2021-3516 |
| Rocky Linux:8 | libxml2 | 0:2.9.7-9.el8_4.2 | RLSA-2021:2569 |
Affected products (as reported)
Weakness: CWE-416
References
- FEDORA-2021-e3ed1ba38b vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20210510 [SECURITY] [DLA 2653-1] libxml2 security update mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=1954225 x_refsource_MISC
- FEDORA-2021-b950000d2b vendor-advisory, x_refsource_FEDORA
- GLSA-202107-05 vendor-advisory, x_refsource_GENTOO
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/230 x_refsource_MISC
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210716-0005/ x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html