XML external entity injection in Jenkins Token Macro Plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-611 and the CVSS impact.
Summary
An XML external entities (XXE) vulnerability in Jenkins Token Macro Plugin 2.7 and earlier allowed attackers able to control a the content of the input file for the "XML" macro to have Jenkins resolve external entities, resulting in the extraction of secrets from the Jenkins agent, server-side request forgery, or denial-of-service attacks.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins Token Macro Plugin | up to 2.7 | — | No fix listed | CNA |
| — | org.jenkins-ci.plugins:token-macro (Maven) | before 2.8 | 2.8 | Patch available | GHSA-g6h2-4x64-c59x |
- Jenkins Token Macro Plugin VendorJenkins Affected up to 2.7 Fixed in — No fix listed CNA
- org.jenkins-ci.plugins:token-macro (Maven) Vendor— Affected before 2.8 Fixed in 2.8 Patch available GHSA-g6h2-4x64-c59x
Remediation
- Fix · GHSA-g6h2-4x64-c59x org.jenkins-ci.plugins:token-macro (Maven) Fixed in 2.8 Advisory →
Red Hat 2 advisories
- RHSA-2019:1851 Released 2019-07-24 · Red Hat rating ModerateOpenShift Container Platform 3.11 security update
- Red Hat OpenShift Container Platform 3.11 atomic-openshift-3.11.129-1.git.0.bd4f2d5.el7, atomic-openshift-clients-3.11.129-1.git.0.bd4f2d5.el7, atomic-openshift-clients-redistributable-3.11.129-1.git.0.bd4f2d5.el7 +11
- RHSA-2019:1636 Released 2019-07-03 · Red Hat rating ImportantOpenShift Container Platform 4.1 jenkins-2-plugins security update
- Red Hat OpenShift Container Platform 4.1 jenkins-2-plugins-4.1.1561471763-1.el7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.10 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.6 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.7 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.9 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2019:1851 |
| Red Hat OpenShift Container Platform 4.1 | Fixed | RHSA-2019:1636 |
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10337
- 2026-10-03 Alias added: GHSA-g6h2-4x64-c59x
References
Advisory 5
More Jenkins Token Macro vulnerabilities
- TI-2019-15856 Uncontrolled recursion in Jenkins Token Macro Plugin CVSS 3.1HIGH 8.1
Sources
- CVE-2019-10337 · CVE Program
- CVE-2019-10337 · NVD
- FIRST EPSS
- GHSA-g6h2-4x64-c59x · GitHub Advisory Database · CC BY 4.0
- CVE-2019-10337 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences