Skip to content
OpenAdvisories
High · 7.5 CVE-2019-10337 EUVD-2022-3903GHSA-g6h2-4x64-c59x

Improper Restriction of XML External Entity Reference Jenkins Token Macro Plugin

Published Jun 11, 2019 · Updated Aug 4, 2024 · Assigned by jenkins

Description

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.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Token Macro Plugin 2.7 and earlier —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 jenkins-2-plugins 4.1.1561471763-1.el7 RHSA-2019:1636
Red Hat OpenShift 3 atomic-openshift +12 3.11.129-1.git.0.bd4f2d5.el7 RHSA-2019:1851
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1560870549-1.el7 RHSA-2019:1851

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:token-macro < 2.8 2.8 GHSA-g6h2-4x64-c59x

Advisories 2

References