medium6.5
CVE-2020-2139
Arbitrary file write vulnerability in Jenkins Cobertura Plugin
Impact
An arbitrary file write vulnerability in Jenkins Cobertura Plugin 1.15 and earlier allows attackers able to control the coverage report file contents to overwrite any file on the Jenkins master file system. Cobertura Plugin 1.16 sanitizes the file paths to prevent escape from the base directory.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:cobertura | <= 1.15 | 1.16 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Cobertura | through 1.15 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2020/03/09/1
- https://jenkins.io/security/advisory/2020-03-09/#SECURITY-1668
- https://github.com/advisories/GHSA-m935-chfp-9f63
- https://nvd.nist.gov/vuln/detail/CVE-2020-2139
- https://github.com/jenkinsci/cobertura-plugin/commit/ea41b3f86a24ab398a588bde6a4eada869bed391