What’s Vulnerable › Vulnerabilities

CVE-2013-0340

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

How to fix

Upgrade to a fixed version: Apple iPadOS 14.8; Apple Iphone Os 14.8; Apple macOS 11.6; Apple tvOS 15.0; Apple watchOS 8.0; libexpat project libexpat 2.4.0; Python 3.6.15, 3.7.12, 3.8.12, 3.9.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2013-0340 or the next vulnerability affects your stack