high7.5
CVE-2021-25951
XML2Dict XML Entity Expansion Vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | XML2Dict | <= 0.2.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Xml2dict Project | Xml2dict | Version 0.2.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951
- https://github.com/advisories/GHSA-gp6m-vqhm-5cm5
- https://nvd.nist.gov/vuln/detail/CVE-2021-25951
- https://github.com/mcspring/XML2Dict/tree/master
- https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml
- https://pypi.org/project/XML2Dict