Vulnerability · Published Apr 24, 2023 · Assigned by mitre
CVE-2023-29469
Medium 6.5
In plain English
A medium-severity double free in the libxml2 package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libxml2 | 2.9.7-16.el8_8.1 | ALSA-2023:4529 |
| AlmaLinux:9 | libxml2 | 2.9.13-3.el9_2.1 | ALSA-2023:4349 |
| AlmaLinux:8 | libxml2-devel | 2.9.7-16.el8_8.1 | ALSA-2023:4529 |
| AlmaLinux:9 | libxml2-devel | 2.9.13-3.el9_2.1 | ALSA-2023:4349 |
| AlmaLinux:8 | python3-libxml2 | 2.9.7-16.el8_8.1 | ALSA-2023:4529 |
| AlmaLinux:9 | python3-libxml2 | 2.9.13-3.el9_2.1 | ALSA-2023:4349 |
| Alpine:v3.20 | libxml2 | 2.10.4-r0 | ALPINE-CVE-2023-29469 |
| Alpine:v3.21 | libxml2 | 2.10.4-r0 | ALPINE-CVE-2023-29469 |
| Alpine:v3.22 | libxml2 | 2.10.4-r0 | ALPINE-CVE-2023-29469 |
| Alpine:v3.23 | libxml2 | 2.10.4-r0 | ALPINE-CVE-2023-29469 |
| Alpine:v3.24 | libxml2 | 2.10.4-r0 | ALPINE-CVE-2023-29469 |
| Alpine:v3.20 | qt5-qtwebengine | 5.15.13-r1 | ALPINE-CVE-2023-29469 |
| Alpine:v3.21 | qt5-qtwebengine | 5.15.13-r1 | ALPINE-CVE-2023-29469 |
| Alpine:v3.22 | qt5-qtwebengine | 5.15.13-r1 | ALPINE-CVE-2023-29469 |
| Alpine:v3.23 | qt5-qtwebengine | 5.15.13-r1 | ALPINE-CVE-2023-29469 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.2 | DEBIAN-CVE-2023-29469 |
| Debian:13 | libxml2 | 2.9.14+dfsg-1.2 | DEBIAN-CVE-2023-29469 |
| Debian:14 | libxml2 | 2.9.14+dfsg-1.2 | DEBIAN-CVE-2023-29469 |
| Rocky Linux:8 | libxml2 | 0:2.9.7-16.el8_8.1 | RLSA-2023:4529 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.3 | UBUNTU-CVE-2023-29469 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.3 | USN-6028-1 |
Affected products (as reported)
Weakness: CWE-415 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/510
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3405-1] libxml2 security update mailing-list
- https://security.netapp.com/advisory/ntap-20230601-0006/
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html