{"id":"GHSA-gp6m-vqhm-5cm5","summary":"XML2Dict XML Entity Expansion Vulnerability","details":"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.","aliases":["CVE-2021-25951","PYSEC-2021-349"],"modified":"2024-11-19T18:32:33.859703Z","published":"2021-07-02T18:37:31Z","database_specific":{"cwe_ids":["CWE-611","CWE-776"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-07-01T21:42:31Z","nvd_published_at":"2021-06-30T12:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25951"},{"type":"WEB","url":"https://github.com/mcspring/XML2Dict/tree/master"},{"type":"PACKAGE","url":"https://github.com/mcspring/xml2dict"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml"},{"type":"WEB","url":"https://pypi.org/project/XML2Dict"},{"type":"WEB","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951"}],"affected":[{"package":{"name":"xml2dict","ecosystem":"PyPI","purl":"pkg:pypi/xml2dict"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.2.2"}]}],"versions":["0.1","0.1.1","0.2.1","0.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-gp6m-vqhm-5cm5/GHSA-gp6m-vqhm-5cm5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}