CVE-2019-1003002 in the critical feed json
Jenkins Pipeline Declarative Plugin sandbox bypass vulnerability
published 2019-01-22 7 y ago modified 2026-06-17 4 mo ago also GHSA-x6jx-cxg3-mggh , EUVD-2022-5729
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 81.1%
- EPSS 81.1% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 3
- Metasploit, Exploit-DB
Summary
A sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier in pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
Patch / fix
- maven org.jenkinsci.plugins:pipeline-model-definition 1.3.4.1
- haproxy openshift 3.11 1.8.17-3.el7
- jenkins openshift 3.11 2.150.2.1549032159-1.el7
- haproxy18 openshift 3.11 1.8.17-3.el7
- prometheus openshift 3.11 3.11.82-1.git.5027.9d24833.el7
- atomic-openshift openshift 3.11 3.11.82-1.git.0.08bc31b.el7
- jenkins-2-plugins openshift 3.11 3.11.1549642489-1.el7
- openshift-ansible openshift 3.11 3.11.82-3.git.0.9718d0a.el7
- atomic-openshift-pod openshift 3.11 3.11.82-1.git.0.08bc31b.el7
red hat advisories RHBA-2019:0326
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-1003002 updated cvss 8.8
jenkins-plugin-pipeline-model-definition: Sandbox Bypass in Pipeline: Declarative
-
Red Hat OpenShift Container Platform 3.5 jenkins-plugin-pipeline-model-definitionaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.6 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 3.7 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 3.9 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 3.10 jenkins-plugin-pipeline-model-definitionaffected: no fix available
-
Red Hat OpenShift Container Platform 3.11 haproxy 1.8.17-3.el7, haproxy18 1.8.17-3.el7, jenkins 2.150.2.1549032159-1.el7, jenkins-2-plugins 3.11.1549642489-1.el7, prometheus 3.11.82-1.git.5027.9d24833.el7, atomic-openshift 3.11.82-1.git.0.08bc31b.el7, +33 morefixed: vendor fix RHBA-2019:0326
-
Red Hat OpenShift Container Platform 3.2 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 3.3 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 3.4 jenkins-plugin-pipeline-model-definition Red Hat OpenShift Container Platform 4 jenkins-2-pluginsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/multi/http/jenkins_metaprogramming)
- Published
Exploit prediction
81.10% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/multi/http/jenkins_metaprogramming Jenkins ACL Bypass and Metaprogramming RCE metasploit exploit, excellent rank, 2019-01-08
- EDB-46572 Jenkins 2.137 and Pipeline Groovy Plugin 2.61 - ACL Bypass and Metaprogramming Remote Code Execution (Metasploit) remote, 2019-03-19
- EDB-46427 Jenkins Plugin Script Security < 1.50/Declarative < 1.3.4.1/Groovy < 2.61.1 - Remote Code Execution (PoC) webapps, 2019-02-19
- packetstormsecurity.com http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkinsci.plugins:pipeline-model-definition | <1.3.4.1 |
1.3.4.1 |
Affected products
- Jenkins project Pipeline: Declarative Plugin
References
-
github.com
/jenkinsci/pipeline-model-definition-plugin/commit/083abd96e68fd89f556a0cd53db5f878dbf09b92
web
-
exploit-db.com
/exploits/46572/
exploit, third-party-advisory, vdb-entry
-
packetstormsecurity.com
/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
web, exploit, third-party-advisory, vdb-entry
-
access.redhat.com
/errata/RHBA-2019:0326
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHBA-2019:0327
vendor-advisory, web, third-party-advisory
-
jenkins.io
/security/advisory/2019-01-08/#SECURITY-1266
web, vendor-advisory
-
rapid7.com
/db/modules/exploit/multi/http/jenkins_metaprogramming
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-1003002
advisory
-
exploit-db.com
/exploits/46572
web
Sources
- CVE List CVE-2019-1003002
- GitHub Advisory GHSA-x6jx-cxg3-mggh
- NVD CVE-2019-1003002
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.