GHSA-cmgm-q8hf-p7jc
XXE vulnerability in Jenkins Code Coverage API Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.jenkins.plugins:code-coverage-api | < 1.1.5 | 1.1.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
Code Coverage API Plugin 1.1.4 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows a user able to control the input files for the \"Publish Coverage Report\" post-build step to have Jenkins parse a crafted file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.
Code Coverage API Plugin 1.1.5 disables external entity resolution for its XML parser.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-2172
- https://github.com/jenkinsci/code-coverage-api-plugin/commit/f0ef84c25f7bc4de4e722e994de57d238225834c
- https://github.com/jenkinsci/code-coverage-api-plugin
- https://jenkins.io/security/advisory/2020-04-07/#SECURITY-1699
- http://www.openwall.com/lists/oss-security/2020/04/07/3