CVE-2020-2172 XXE vulnerability in Jenkins Code Coverage API Plugin

Medium 6.5 Published Updated

An attacker can exploit XML external entity vulnerabilities in the Jenkins Code Coverage API Plugin to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-2172?

CVE-2020-2172 is a medium-severity vulnerability in Jenkins Code Coverage API Plugin, published on 7 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Code Coverage API Plugin 1.1.4 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Weakness: CWE-776

Which versions are affected by CVE-2020-2172?

2 open source packages ship an affected version, including io.jenkins.plugins:code-coverage-api. It affects 1 product.

PackageAffectedFixed in
io.jenkins.plugins:code-coverage-api MavenAll versions1.1.5
io.jenkins.plugins:code-coverage-api MavenAll versions1.1.5

Products include Jenkins Code Coverage Api.

How do I fix CVE-2020-2172?

Upgrade io.jenkins.plugins:code-coverage-api to 1.1.5 or later.

Is CVE-2020-2172 being exploited?

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

Sources

Also known as GHSA-cmgm-q8hf-p7jc.

Is CVE-2020-2172 in your software?

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

Check your SBOMs for free