CVE-2020-29128 Duplicate Advisory: XML Injection in petl
An attacker can exploit XML entity resolution in the petl library to read sensitive files or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-29128?
CVE-2020-29128 is a critical vulnerability in n/a, published on 26 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
petl before 1.68, in some configurations, allows resolution of entities in an XML document.
Weakness: CWE-91
Which versions are affected by CVE-2020-29128?
5 open source packages ship an affected version, including petl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
petl PyPI | All versions | 1.6.8 |
petl PyPI | All versions | 1.6.8 |
petl PyPI | All versions | 1.6.8 |
petl PyPI | All versions | 1.6.8 |
petl PyPI | All versions | 1.6.8 |
Products include Petl Project Petl.
How do I fix CVE-2020-29128?
Upgrade petl to 1.6.8 or later.
Is CVE-2020-29128 being exploited?
There is no known exploitation of CVE-2020-29128 in the wild and no public exploit code.
Sources
Also known as GHSA-69q2-p9xp-739v, GHSA-f5gc-p5m3-v347, PYSEC-2020-75.