Name | CVE-2023-45322 |
Description | 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." |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-1227-1 |
Debian Bugs | 1053629 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libxml2 (PTS) | jessie, jessie (lts) | 2.9.1+dfsg1-5+deb8u17 | fixed |
| stretch (security) | 2.9.4+dfsg1-2.2+deb9u7 | vulnerable |
| stretch (lts), stretch | 2.9.4+dfsg1-2.2+deb9u11 | vulnerable |
| buster, buster (lts) | 2.9.4+dfsg1-7+deb10u9 | fixed |
| buster (security) | 2.9.4+dfsg1-7+deb10u6 | vulnerable |
| bullseye | 2.9.10+dfsg-6.7+deb11u4 | vulnerable |
| bullseye (security) | 2.9.10+dfsg-6.7+deb11u5 | vulnerable |
| bookworm | 2.9.14+dfsg-1.3~deb12u1 | vulnerable |
| sid, trixie | 2.12.7+dfsg+really2.9.14-0.2 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - libxml2 <no-dsa> (Minor issue)
[bullseye] - libxml2 <no-dsa> (Minor issue)
[buster] - libxml2 <postponed> (Minor issue, very hard/unlikely to trigger)
https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
Originally fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/d39f78069dff496ec865c73aa44d7110e429bce9 (v2.12.0)
Introduced regression (and thus commit reverted temporarily upstream):
https://gitlab.gnome.org/GNOME/libxml2/-/issues/634
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/30d7660ba87c8487b26582ccc050f4d2880ccb3c (v2.12.2)
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/8707838e69f9c6e729c1d1d46bb3681d9e622be5 (v2.13.0)
https://gitlab.gnome.org/GNOME/libxml2/-/issues/344
http://www.openwall.com/lists/oss-security/2023/10/06/5
[stretch] - libxml2 <postponed> (Minor issue, very hard/unlikely to trigger)