Out-of-bounds read in expat - CVE-2009-3560

 

Out-of-bounds read in expat - CVE-2009-3560

Published: December 4, 2009 / Updated: July 24, 2020


Vulnerability identifier: #VU31844
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-3560
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when processing an XML document with malformed UTF-8 sequences that trigger a buffer over-read, related to the doProlog function in lib/xmlparse.c, a different vulnerability than CVE-2009-2625 and CVE-2009-3720 within the The big2_toUtf8 function in lib/xmltok.c in libexpat in Expat 2.0.1, as used. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds read error and crash the affected application.


Affected software

expat
Gentoo Linux
Debian Linux
Ubuntu
Slackware Linux
expat (Alpine package)
python2.4-xml (Ubuntu package)
libxmlrpc-core-c3 (Ubuntu package)
expat (Debian package)
python2.4 (Ubuntu package)
python2.4-minimal (Ubuntu package)
cmake (Ubuntu package)
python2.5-minimal (Ubuntu package)
python2.5 (Ubuntu package)
expat

How to mitigate CVE-2009-3560

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

expat (Alpine package) - update to 2.0.1-r1
python2.4-xml (Ubuntu package) - update to 0.8.4-1ubuntu3.1
libxmlrpc-core-c3 (Ubuntu package) - update to 1.06.27-1ubuntu6.1
expat (Debian package) - addressed in versions 1.95.8-3.4+etch2, 2.0.1-4+lenny2
python2.4 (Ubuntu package) - addressed in versions 2.4.3-0ubuntu6.4, 2.4.5-1ubuntu4.3, 2.4.5-5ubuntu1.2, 2.4.6-1ubuntu3.2.9.04.1, 2.4.6-1ubuntu3.2.9.10.1
python2.4-minimal (Ubuntu package) - addressed in versions 2.4.3-0ubuntu6.4, 2.4.5-1ubuntu4.3, 2.4.5-5ubuntu1.2, 2.4.6-1ubuntu3.2.9.04.1, 2.4.6-1ubuntu3.2.9.10.1
cmake (Ubuntu package) - addressed in versions 2.4.7-1ubuntu0.1, 2.6.0-4ubuntu2.1, 2.6.2-1ubuntu1.1
python2.5-minimal (Ubuntu package) - addressed in versions 2.5.2-2ubuntu6.1, 2.5.2-11.1ubuntu1.1, 2.5.4-1ubuntu4.1, 2.5.4-1ubuntu6.1
python2.5 (Ubuntu package) - addressed in versions 2.5.2-2ubuntu6.1, 2.5.2-11.1ubuntu1.1, 2.5.4-1ubuntu4.1, 2.5.4-1ubuntu6.1
expat - update to 2.0.1

External References

Related Security Bulletins