CVE-2022-0272 Improper Restriction of XML External Entity Reference in detekt/detekt
An attacker can exploit XML External Entity vulnerabilities in detekt 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-2022-0272?
CVE-2022-0272 is a high-severity vulnerability in detekt/detekt, published on 21 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.
Weakness: CWE-611
Which versions are affected by CVE-2022-0272?
2 open source packages ship an affected version, including io.gitlab.arturbosch.detekt:detekt-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.gitlab.arturbosch.detekt:detekt-core Maven | All versions | 1.20.0 |
io.gitlab.arturbosch.detekt:detekt-core Maven | All versions | 1.20.0 |
Products include Detekt Detekt.
How do I fix CVE-2022-0272?
Upgrade io.gitlab.arturbosch.detekt:detekt-core to 1.20.0 or later.
Is CVE-2022-0272 being exploited?
There is no known exploitation of CVE-2022-0272 in the wild and no public exploit code.
Sources
Also known as GHSA-2cfc-865j-gm4w.