CVE Vulnerabilities

CVE-2008-3281

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Published: Aug 27, 2008 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

libxml2 2.6.32 and earlier does not properly detect recursion during entity expansion in an attribute value, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document.

Weakness

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Affected Software

Name Vendor Start Version End Version
Libxml2 Xmlsoft * 2.6.32 (including)
Red Hat Enterprise Linux 2.1 RedHat libxml2-0:2.4.19-9.ent *
Red Hat Enterprise Linux 3 RedHat libxml2-0:2.5.10-11 *
Red Hat Enterprise Linux 4 RedHat libxml2-0:2.6.16-12.3 *
Red Hat Enterprise Linux 5 RedHat libxml2-0:2.6.26-2.1.2.4 *
Libxml2 Ubuntu dapper *
Libxml2 Ubuntu feisty *
Libxml2 Ubuntu gutsy *
Libxml2 Ubuntu hardy *
Libxml2 Ubuntu upstream *

Potential Mitigations

References