CVE-2020-2305: XEE
A flaw was found in the mercurial plugin in Jenkins. The XML changelog parser is not configured to prevent an XML external entity (XXE) attack allowing an attacker the ability to control an agent process to have Jenkins parse a crafted changelog file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery. The highest threat from this vulnerability is to data confidentiality.
Other sources
Jenkins Mercurial Plugin 2.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
Jenkins Mercurial Plugin prior to 2.12, 2.10.1, 2.9.1, and 2.8.1 does not configure its XML changelog parser to prevent XML external entity (XXE) attacks.
This allows attackers able to control an agent process to have Jenkins parse a crafted changelog file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.
Mercurial Plugin 2.12, 2.10.1, 2.9.1, and 2.8.1 disables external entity resolution for its XML parser.
Mercurial Plugin 2.11 and earlier does not configure its XML changelog parser to prevent XML external entity (XXE) attacks.
This allows attackers able to control an agent process to have Jenkins parse a crafted changelog file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.
— Red Hat
Affected Software
Remediation
Information
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2020-2305?
CVE-2020-2305 has been classified as a medium severity vulnerability.
How do I fix CVE-2020-2305?
To resolve CVE-2020-2305, update the Jenkins Mercurial plugin to a version that is not vulnerable, specifically versions 2.9 or higher.
What specific plugin is affected by CVE-2020-2305?
CVE-2020-2305 affects the Mercurial plugin in Jenkins.
What type of attack does CVE-2020-2305 expose Jenkins to?
CVE-2020-2305 exposes Jenkins to XML External Entity (XXE) attacks.
In which environments does CVE-2020-2305 affect Jenkins installations?
CVE-2020-2305 affects Jenkins installations running on the specified versions of the Mercurial plugin across various operating systems including EL7 and EL8.