CVE-2023-45322
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | libxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libxml2 | Fix pending | ||
| Debian 14 | libxml2 | Fixed | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2023-45322 |
| Debian 13 | libxml2 | Fixed | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2023-45322 |
| Debian 12 | libxml2 | Fixed | 2.9.14+dfsg-1.3~deb12u2 | DEBIAN-CVE-2023-45322 |
| Red Hat Enterprise Linux 9 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libxml2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Will not fix Out of support scope |
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/344
- http://www.openwall.com/lists/oss-security/2023/10/06/5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.