CVE-2023-29469
libxml2: Hashing of empty dict strings isn't deterministic
Overview
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).
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: CWE-415
Affected packages · 2
Operating systems · 49 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-16.el8_8.1 |
| 9 | libxml2 +2 | 2.9.13-3.el9_2.1 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | libxml2 +2 | 2.9.12-8.ph4 |
| 5.0 | libxml2 +2 | 2.9.14-7.ph5 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libxml2 +3 | eol | — |
| 8 | libxml2 +2 | 0:2.9.7-13.el8_6.4 | RHSA-2024:0413 |
| 8 | libxml2 +2 | 0:2.9.7-16.el8_8.1 | RHSA-2023:4529 |
| 9 | libxml2 +2 | 0:2.9.13-3.el9_2.1 | RHSA-2023:4349 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libxml2-2 +5 | 2.9.4-46.62.1 | SUSE-SU-2023:2054-1 |
| 15.4 | libxml2-2 +4 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
SUSE Linux Enterprise Micro 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libxml2-2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| 5.2 | libxml2-2 +2 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| 5.3 | libxml2-2 +2 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
| 5.4 | libxml2-2 +2 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-16.el8_8.1 |
| 9 | libxml2 +2 | 2.9.13-3.el9_2.1 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libxml2 | 2.10.4-r0 |
| 3.22 | qt5-qtwebengine | 5.15.13-r1 |
| 3.23 | libxml2 | 2.10.4-r0 |
| 3.23 | qt5-qtwebengine | 5.15.13-r1 |
| 3.24 | libxml2 | 2.10.4-r0 |
| edge | libxml2 | 2.10.4-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | libxml2 +6 | 2.10.4-1.amzn2023.0.1 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxml2 | 2.9.4+dfsg1-7+deb10u6 |
| 11 | libxml2 | 2.9.10+dfsg-6.7+deb11u4 |
| 12 | libxml2 | 2.9.14+dfsg-1.2 |
| 13 | libxml2 | 2.9.14+dfsg-1.2 |
| 14 | libxml2 | 2.9.14+dfsg-1.2 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| libxml2-2-9-1 | 2.9.1+e1 | |
| libxml2 | 2.9.14+dfsg-1.2 |
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.15.4-1.1 | openSUSE-SU-2024:13440-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
| Tumbleweed | libxml2-2 +5 | 2.10.4-1.1 | openSUSE-SU-2024:12877-1 |
| Tumbleweed | libqt5-qtpdf-devel +9 | 5.15.14-1.1 | openSUSE-SU-2024:12963-1 |
openSUSE Leap Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libxml2-2 +2 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-16.el8_8.1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-libxml2 | 2.9.10+dfsg-6.7+deb11u4 |
| 12 | rootio-libxml2 | 2.9.14+dfsg-1.2 |
| 13 | rootio-libxml2 | 2.9.14+dfsg-1.2 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +1 | 2.9.1-6.el7_9.6+sp999 |
| 8 | libxml2 +1 | 2.9.7-18.el8_10.1+sp999 |
| 9 | libxml2 +1 | 2.9.13-6.el9_4+sp999 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9 |
| 18.04-ESM | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9 |
| 20.04 | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.6 |
| 20.04-ESM | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.6 |
| 22.04 | libxml2 | 2.9.13+dfsg-1ubuntu0.3 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:4349
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-29469
- bugzilla.redhat.com https://bugzilla.redhat.com/2185984
- bugzilla.redhat.com https://bugzilla.redhat.com/2185994
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2185984
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2185994
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-625862.html
Show all 26 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28484
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29469
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-4349.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:4529
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/commit/09a2dd453007f9c7205274623acdd73747c22d64
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/issues/510
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-29469.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-4529.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00031.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-29469
- security.netapp.com https://security.netapp.com/advisory/ntap-20230601-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-6028-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6028-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-29469
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.