Home/CVE/expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetE
CVE

CVE-2013-0340

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetE

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.

MEDIUM · CVSS 6.8 EPSS 0.00058
Monitor
  • No active-exploitation, high-EPSS, or public-exploit signals - routine patching cadence
Sigma rules16 YARA rules0

Affected Products & Versions

10
python>= 3.6.0 and < 3.6.15
python>= 3.7.0 and < 3.7.12
python>= 3.8.0 and < 3.8.12
python>= 3.9.0 and < 3.9.7

Sigma Hunt Rules

16
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighPython Reverse Shell Execution Via PTY And Socket Modules
producthighInline Python Execution - Spawn Shell Via OS System Library
producthighPython One-Liners with Base64 Decoding - Linux
producthighPython Function Execution Security Warning Disabled In Excel
producthighPython One-Liners with Base64 Decoding
producthighPython Spawning Pretty TTY on Windows

Scoring & Timeline

6.8
MEDIUM · CVSS v2 (legacy) · secalert@redhat.com
View on NVD
This CVE predates CVSS v3; the legacy v2 score is shown so triage still has a severity to work with.
v2 Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Published to NVD21 Jan 2014 · 06:55 PM

Vendor Advisories

13
rhsaRHSA-2025:21776Important
rhsaRHSA-2025:22785Important
rhsaRHSA-2025:22871Important
rhsaRHSA-2025:22035Important
rhsaRHSA-2025:22842Important
🔗

References & Sources

25
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
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
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin