CVE-2021-21642
XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » config-file-provider | < 3.7.1 | 3.7.1 |
Blast radius
23% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 679 |
| 2 hops | 3 |
Most used dependents
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkins-ci.plugins » ivy9 usages
- org.jenkins-ci.plugins » nodejs3 usages
- org.jenkins-ci.plugins » pipeline-maven1 usages
- org.jenkins-ci.plugins » openstack-cloud1 usages
- org.jenkinsci.plugins » managed-scripts1 usages
- io.wcm.devops.jenkins » io.wcm.devops.jenkins.pipeline-library1 usages
- org.jenkins-ci.plugins » pipeline-multibranch-defaults1 usages
- org.jenkins-ci.plugins » artifactory0 usages
- org.jenkins-ci.plugins » jclouds-jenkins0 usages
- de.hasait.cipa » cipa0 usages
- de.pro-vision.devops.jenkins » de.pro-vision.devops.jenkins.pv-pipeline-library0 usages
- org.jenkins-ci.plugins » pipeline-npm0 usages
- cn.opsbox.jenkinsci.plugins » oes-template0 usages
- io.jenkins.plugins » scm-filter-jervis0 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-21642 | nvd.nist.gov |
| Package | jenkinsci/config-file-provider-plugin | github.com |
| Web | jenkinsci/config-file-provider-plugin commit 5f845bc | github.com |
| Web | security/advisory/2021-04-21 | jenkins.io |
| Web | lists/oss-security/2021/04/21/2 | openwall.com |
