CVE-2021-25951 XML2Dict XML Entity Expansion Vulnerability

High 7.5 Published Updated

An attacker can cause a denial of service in the XML2Dict library via an XML External Entity vulnerability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-25951?

CVE-2021-25951 is a high-severity vulnerability in XML2Dict, published on 30 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.

Weakness: CWE-611

Which versions are affected by CVE-2021-25951?

3 open source packages ship an affected version, including xml2dict and XML2Dict. It affects 1 product.

PackageAffectedFixed in
xml2dict PyPIAll versionsNone
xml2dict PyPIAll versions to 0.2.2None
XML2Dict PyPIAll versions to 0.2.2None

Products include Xml2dict Project Xml2dict.

How do I fix CVE-2021-25951?

No fix has been published for CVE-2021-25951 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-25951 being exploited?

There is no known exploitation of CVE-2021-25951 in the wild and no public exploit code.

Sources

Also known as GHSA-gp6m-vqhm-5cm5, PYSEC-2021-349.

Is CVE-2021-25951 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free