Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14NThyLXd4YzMtN3Bxcs4AAmgC
XXE vulnerability in Jenkins Mercurial Plugin
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.
Permalink: https://github.com/advisories/GHSA-x58r-wxc3-7pqrJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14NThyLXd4YzMtN3Bxcs4AAmgC
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 11 months ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-x58r-wxc3-7pqr, CVE-2020-2305
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-2305
- https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2115
- https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2305.json
- https://github.com/jenkinsci/mercurial-plugin/commit/84af58b08f80bb92792f7bc04a31487f3eeee95a
- https://github.com/advisories/GHSA-x58r-wxc3-7pqr
Blast Radius: 1.0
Affected Packages
maven:org.jenkins-ci.plugins:mercurial
Affected Version Ranges: < 2.8.1, = 2.9, = 2.10, = 2.11Fixed in: 2.8.1, 2.9.1, 2.10.1, 2.12