Out-of-bounds read in expat - CVE-2009-3560
Published: December 4, 2009 / Updated: July 24, 2020
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
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
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
- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.165
- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=log#rev1.165
- http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://lists.vmware.com/pipermail/security-announce/2010/000082.html
- http://mail.python.org/pipermail/expat-bugs/2009-November/002846.html
- http://marc.info/?l=bugtraq&m=130168502603566&w=2
- http://secunia.com/advisories/37537
- http://secunia.com/advisories/38231
- http://secunia.com/advisories/38794
- http://secunia.com/advisories/38832
- http://secunia.com/advisories/38834
- http://secunia.com/advisories/39478
- http://secunia.com/advisories/41701
- http://secunia.com/advisories/43300
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.486026
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-273630-1
- http://www.debian.org/security/2009/dsa-1953
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:316
- http://www.redhat.com/support/errata/RHSA-2011-0896.html
- http://www.securityfocus.com/bid/37203
- http://www.securitytracker.com/id?1023278
- http://www.ubuntu.com/usn/USN-890-1
- http://www.ubuntu.com/usn/USN-890-6
- http://www.vupen.com/english/advisories/2010/0528
- http://www.vupen.com/english/advisories/2010/0896
- http://www.vupen.com/english/advisories/2010/1107
- http://www.vupen.com/english/advisories/2011/0359
- https://bugzilla.redhat.com/show_bug.cgi?id=533174
- https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac@%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79@%3Ccvs.httpd.apache.org%3E
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10613
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12942
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6883
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00370.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00394.html
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00413.html
Related Security Bulletins
- Out-of-bounds read in libexpat expat
- Out-of-bounds read in expat (Alpine package)
- Gentoo update for Expat
- Slackware Linux update for expat
- Ubuntu update for python2.5
- Ubuntu update for python2.4
- Ubuntu update for python-xml
- Ubuntu update for xmlrpc-c
- Ubuntu update for cmake
- DSA-1953-1: expat - denial of service