GitHub Advisoryadvisory · Maven
GHSA-q7xg-hh3q-hc68 XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
HIGH
Official page ↗
- Aliases
- CVE-2021-21642
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:config-file-provider
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-611
- Reviewed
- 2022-12-13
Affected packages
• Maven org.jenkins-ci.plugins:config-file-provider: < 3.7.1 → fixed in 3.7.1
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.
Related
Alias · CVE (1)
- CVE-2021-21642 Jenkins Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21642 advisory
- https://github.com/jenkinsci/config-file-provider-plugin/commit/5f845bc015be769e595088bab11ec36c767671e1 web
- https://github.com/jenkinsci/config-file-provider-plugin package
- https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2204 web
- http://www.openwall.com/lists/oss-security/2021/04/21/2 web