CWE
611
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2020-2305: XEE

First published: Wed Nov 04 2020(Updated: )

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.

Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
redhat/jenkins<2-plugins-0:3.11.1612862361-1.el7
2-plugins-0:3.11.1612862361-1.el7
redhat/jenkins<2-plugins-0:4.4.1611203637-1.el7
2-plugins-0:4.4.1611203637-1.el7
redhat/jenkins<2-plugins-0:4.5.1610108899-1.el7
2-plugins-0:4.5.1610108899-1.el7
redhat/jenkins<2-plugins-0:4.6.1609853716-1.el8
2-plugins-0:4.6.1609853716-1.el8
maven/org.jenkins-ci.plugins:mercurial<2.8.1
2.8.1
maven/org.jenkins-ci.plugins:mercurial=2.9
2.9.1
maven/org.jenkins-ci.plugins:mercurial=2.10
2.10.1
maven/org.jenkins-ci.plugins:mercurial=2.11
2.12
redhat/mercurial<2.12
2.12
Mercurial<=2.11

Remedy

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203