~ / search / GHSA-x58r-wxc3-7pqr

GHSA-x58r-wxc3-7pqr

XXE vulnerability in Jenkins Mercurial Plugin

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-2305

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins:mercurial >= 2.11, < 2.12 2.12
Maven org.jenkins-ci.plugins:mercurial >= 2.10, < 2.10.1 2.10.1
Maven org.jenkins-ci.plugins:mercurial >= 2.9, < 2.9.1 2.9.1
Maven org.jenkins-ci.plugins:mercurial < 2.8.1 2.8.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.