Affected versions
Ubuntu18.04:LTS/libxml2
- Affected versions
- <2.9.4+dfsg1-6.1ubuntu1.9
- Fixed version
- 2.9.4+dfsg1-6.1ubuntu1.9
Ubuntu20.04:LTS/libxml2
- Affected versions
- <2.9.10+dfsg-5ubuntu0.20.04.6
- Fixed version
- 2.9.10+dfsg-5ubuntu0.20.04.6
Ubuntu22.04:LTS/libxml2
- Affected versions
- <2.9.13+dfsg-1ubuntu0.3
- Fixed version
- 2.9.13+dfsg-1ubuntu0.3
UbuntuPro:14.04:LTS/libxml2
- Affected versions
- <2.9.1+dfsg1-3ubuntu4.13+esm5
- Fixed version
- 2.9.1+dfsg1-3ubuntu4.13+esm5
UbuntuPro:16.04:LTS/libxml2
- Affected versions
- <2.9.3+dfsg1-1ubuntu0.7+esm5
- Fixed version
- 2.9.3+dfsg1-1ubuntu0.7+esm5
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).
Links
- https://access.redhat.com/security/cve/CVE-2023-29469
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/09a2dd453007f9c7205274623acdd73747c22d64
- https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4
- https://ubuntu.com/security/CVE-2023-29469
- https://ubuntu.com/security/notices/USN-6028-1
- https://ubuntu.com/security/notices/USN-6028-2
- https://www.cve.org/CVERecord?id=CVE-2023-29469

