Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libexpat Project | Libexpat | < 2.4.0 |
| Python | Python | >= 3.6.0, < 3.6.15 |
| Apple | Ipados | < 14.8 |
| Apple | Iphone Os | < 14.8 |
| Apple | Macos | < 11.6 |
| Apple | Tvos | < 15.0 |
| Apple | Watchos | < 8.0 |
Related Weaknesses (CWE)
References
- http://openwall.com/lists/oss-security/2013/02/22/3ExploitMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/61Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/62Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/63Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/33Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/34Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/35Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/38Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/39Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/40Mailing ListThird Party Advisory
- http://securitytracker.com/id?1028213Third Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2013/04/12/6Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/10/07/4Mailing ListThird Party Advisory
- http://www.osvdb.org/90634Broken Link
- http://www.securityfocus.com/bid/58233Broken LinkThird Party AdvisoryVDB Entry
FAQ
What is CVE-2013-0340?
CVE-2013-0340 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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...
How severe is CVE-2013-0340?
CVE-2013-0340 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2013-0340?
Check the references section above for vendor advisories and patch information. Affected products include: Libexpat Project Libexpat, Python Python, Apple Ipados, Apple Iphone Os, Apple Macos.