CVE-2012-0876
expat: hash table collisions CPU usage DoS
Overview
Description
The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.
Source: OX vulnerability database
Severity
5 · MEDIUM
CVSS 2.0 base score, scored by redhat.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
AV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness: CWE-400
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 31 fixes
SUSE Linux Enterprise 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libpython3-4m1-0 +3 | 3.4.10-25.39.2 | SUSE-SU-2020:0497-1 |
| 12.5 | python3 +3 | 3.4.10-25.39.3 | SUSE-SU-2020:0497-1 |
debian 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxmltok | affected |
| 11 | xmlrpc-c | 1.16.33-3.2 |
| 11 | expat | 2.1.0~beta3-1 |
| 12 | libxmltok | affected |
| 12 | xmlrpc-c | 1.16.33-3.2 |
| 12 | expat | 2.1.0~beta3-1 |
4 more rows
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| libxmltok | affected | |
| xmlrpc-c | 1.16.33-3.2 | |
| expat | 2.1.0~beta3-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | expat +4 | 2.2.0-3.1 | openSUSE-SU-2024:10077-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-expat | 2.1.0~beta3-1 |
| 12 | rootio-expat | 2.1.0~beta3-1 |
| 13 | rootio-expat | 2.1.0~beta3-1 |
ubuntu 7 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | xmlrpc-c | 1.16.33-3.1ubuntu6 |
| 18.04-ESM | cadaver +2 | affected |
| 18.04-ESM | xmlrpc-c | 1.16.33-3.1ubuntu6 |
| 20.04 | xmlrpc-c | 1.16.33-3.1ubuntu6 |
| 20.04-ESM | cadaver +1 | affected |
| 20.04-ESM | xmlrpc-c | 1.16.33-3.1ubuntu6 |
6 more rows
References
- blog.gmane.org http://blog.gmane.org/gmane.text.xml.expat.bugs/month=20120301
- bugs.python.org http://bugs.python.org/issue13703#msg151870
- lists.apple.com http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- lists.apple.com http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- mail.libexpat.org http://mail.libexpat.org/pipermail/expat-discuss/2012-March/002768.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2012-0731.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0062.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2957.html
- secunia.com http://secunia.com/advisories/49504
- secunia.com http://secunia.com/advisories/51024
Show all 34 references
- secunia.com http://secunia.com/advisories/51040
- sourceforge.net http://sourceforge.net/projects/expat/files/expat/2.1.0/
- sourceforge.net http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127
- www.debian.org http://www.debian.org/security/2012/dsa-2525
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2012:041
- www.openwall.com http://www.openwall.com/lists/oss-security/2012/03/09/1
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- www.securityfocus.com http://www.securityfocus.com/bid/52379
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1527-1
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1613-1
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1613-2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-0876
- kc.mcafee.com https://kc.mcafee.com/corporate/index?page=content&id=SB10365
- linux.oracle.com https://linux.oracle.com/cve/CVE-2012-0876.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2012-0731.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-0876
- rhn.redhat.com https://rhn.redhat.com/errata/RHSA-2012-0731.html
- support.apple.com https://support.apple.com/HT205637
- ubuntu.com https://ubuntu.com/security/notices/USN-1527-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1527-2
- ubuntu.com https://ubuntu.com/security/notices/USN-1613-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1613-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-0876
- www.tenable.com https://www.tenable.com/security/tns-2016-20
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.