high8.1
CVE-2021-21642
XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
Impact
Jenkins Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers with the ability to define Maven configuration files to have Jenkins parse a crafted configuration file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery. Jenkins Config File Provider Plugin 3.7.1 disables external entity resolution for its XML parser.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:config-file-provider | <= 3.7.0 | 3.7.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Config File Provider | through 3.7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/04/21/2
- https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2204
- https://github.com/advisories/GHSA-q7xg-hh3q-hc68
- https://nvd.nist.gov/vuln/detail/CVE-2021-21642
- https://github.com/jenkinsci/config-file-provider-plugin/commit/5f845bc015be769e595088bab11ec36c767671e1