CVE-2022-25181 json
Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure
published 2022-02-15 4 y ago modified 2026-06-17 4 mo ago also GHSA-7w2w-fwpf-9m4h , EUVD-2022-0894
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.
Patch / fix
- maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib 561.va_ce0de3c2d69
- Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin 2.18.1, 2.21.1
- jenkins openshift 3.11 2.319.3.1650348949-1.el7
- jenkins-2-plugins openshift 3.11 3.11.1650371376-1.el7
- haproxy openshift 4.6 2.0.16-3.el7
- haproxy openshift 4.6 2.0.16-5.el8
- haproxy20 openshift 4.6 2.0.16-3.el7
- haproxy20 openshift 4.6 2.0.16-5.el8
- jenkins-2-plugins openshift 4.6 4.6.1650364520-1.el8
- haproxy openshift 4.9 2.2.15-4.el8
red hat advisories RHSA-2022:1420RHSA-2022:1620RHSA-2022:1021RHSA-2022:1248RHSA-2022:1025RHSA-2022:0871
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-2022-25181 updated cvss 8.8
workflow-cps-global-lib: Sandbox bypass vulnerability
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins 3.11.1650371376-1.el7fixed: vendor fix RHSA-2022:1420
-
Red Hat OpenShift Container Platform 4.6 jenkins-2-plugins 4.6.1650364520-1.el8fixed: vendor fix RHSA-2022:1620
-
Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins 4.7.1648800585-1.el8fixed: vendor fix RHSA-2022:1248
-
Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1646993358-1.el8fixed: vendor fix RHSA-2022:0871
-
Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1647580879-1.el8fixed: vendor fix RHSA-2022:1021
-
Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1647505461-1.el8fixed: vendor fix RHSA-2022:1025
-
Red Hat OpenShift Container Platform 3.11 jenkins 2.319.3.1650348949-1.el7, prometheus 3.11.685-1.g99aae51.el7, openshift-kuryr 3.11.685-1.g0c4bf66.el7, openshift-kuryr-cni 3.11.685-1.g0c4bf66.el7, atomic-openshift 3.11.685-1.git.0.7faaeaa.el7, openshift-ansible 3.11.685-1.git.0.a9090ac.el7, +35 more Red Hat OpenShift Container Platform 4.6 haproxy 2.0.16-3.el7, haproxy 2.0.16-5.el8, haproxy20 2.0.16-3.el7, haproxy20 2.0.16-5.el8, python-boto 2.34.0-5.el7, cri-o 1.19.6-3.rhaos4.6.git3c20b65.el7, +5 more Red Hat OpenShift Container Platform 4.8 cri-o 1.21.5-3.rhaos4.8.gitaf64931.el7, cri-o 1.21.5-3.rhaos4.8.gitaf64931.el8, openshift 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el7, openshift 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el8, openshift-ansible 4.8.0-202203100145.p0.gfccb320.assembly.stream.el7, openshift-hyperkube 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el7, +2 more Red Hat OpenShift Container Platform 4.9 haproxy 2.2.15-4.el8, haproxy22 2.2.15-4.el8, runc 1.0.1-3.rhaos4.9.git4144b63.el8, cri-o 1.22.3-2.rhaos4.9.git28c5a70.el7, cri-o 1.22.3-2.rhaos4.9.git28c5a70.el8, openshift-ansible 4.9.0-202203150226.p0.g8abf85e.assembly.stream.el7, +5 more Red Hat OpenShift Container Platform 4.10 cri-o 1.23.2-2.rhaos4.10.git071ae78.el8, openshift 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el7, openshift 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el8, openshift-clients 4.10.0-202203170916.p0.g6de42bd.assembly.stream.el7, openshift-clients 4.10.0-202203170916.p0.g6de42bd.assembly.stream.el8, openshift-hyperkube 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el7, +3 morenot 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
Exploit prediction
1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
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.jenkins-ci.plugins.workflow:workflow-cps-global-lib | <561.va_ce0de3c2d69 |
561.va_ce0de3c2d69 |
Affected products
- Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin
Classification
- Weakness
-
- CWE-693 Protection Mechanism Failure
References
Sources
- CVE List CVE-2022-25181
- GitHub Advisory GHSA-7w2w-fwpf-9m4h
- NVD CVE-2022-25181
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.