GitHub Advisoryadvisory · Maven

GHSA-x58r-wxc3-7pqr XXE vulnerability in Jenkins Mercurial Plugin

MEDIUM Published 2022-05-24 Modified 2023-10-27 Official page ↗
Aliases
CVE-2020-2305
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:mercurial
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-611
Reviewed
2022-06-23

Affected packages

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

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-2305 Jenkins Mercurial Plugin 2.11 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