mcspring/xml2dict · Security
XML2Dict XML Entity Expansion Vulnerability
- GHSA ID
- GHSA-gp6m-vqhm-5cm5
- CVE ID
- CVE-2021-25951
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service. The parse function does not properly restrict recursive entity references.
CWEs
- CWE-611 · Improper Restriction of XML External Entity Reference
- CWE-776 · Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25951 ↗
- https://github.com/mcspring/XML2Dict/tree/master ↗
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml ↗
- https://pypi.org/project/XML2Dict ↗
- https://github.com/advisories/GHSA-gp6m-vqhm-5cm5 ↗