Skip to content

CVE-2013-0340 expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of se...

MediumCVSS 6.8 EPSS 19.4%
Published
Updated
Exploit status
No public exploit known

Description

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Affected products

ProductAffected versionsFixed in
debian/expat(Debian:12) < 2.4.1-2 2.4.1-2
debian/expat(Debian:13) < 2.4.1-2 2.4.1-2
debian/expat(Debian:14) < 2.4.1-2 2.4.1-2
debian/libxmltok(Debian:12) All versions No fix listed
debian/libxmltok(Debian:12) = 1.2-4 No fix listed
debian/libxmltok(Debian:12) = 1.2-4.1 No fix listed
debian/libxmltok(Debian:12) = 1.2-4.1~exp1 No fix listed
debian/libxmltok(Debian:12) = 1.2-4.2 No fix listed
libexpat < 2.4.0 2.4.0
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
libexpat project libexpat < 2.4.0 2.4.0
python >= 3.6.0, < 3.6.15 3.6.15
python >= 3.7.0, < 3.7.12 3.7.12
python >= 3.8.0, < 3.8.12 3.8.12
python >= 3.9.0, < 3.9.7 3.9.7
apple iPadOS < 14.8 14.8
apple iphone os < 14.8 14.8
apple macos < 11.6 11.6
apple tvOS < 15.0 15.0
apple watchOS < 8.0 8.0

References