Protection mechanism failure in Jenkins Pipeline: Shared Groovy Libraries Plugin
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-693.
Summary
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library configured to use caching already exists.
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 Pipeline: Shared Groovy Libraries Plugin | up to 552.vd9cc05b8a2e1; 2.21 and later | 2.21.1 | Patch available | CNA |
| — | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) | before 561.va_ce0de3c2d69 | 561.va_ce0de3c2d69 | Patch available | GHSA-pfwp-q984-w7wh |
- Jenkins Pipeline: Shared Groovy Libraries Plugin VendorJenkins Affected up to 552.vd9cc05b8a2e1; 2.21 and later Fixed in 2.21.1 Patch available CNA
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) Vendor— Affected before 561.va_ce0de3c2d69 Fixed in 561.va_ce0de3c2d69 Patch available GHSA-pfwp-q984-w7wh
Remediation
- Fix · CNA Jenkins Pipeline: Shared Groovy Libraries Plugin (Jenkins project) Fixed in 2.21.1
- Fix · GHSA-pfwp-q984-w7wh org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) Fixed in 561.va_ce0de3c2d69 Advisory →
Red Hat 6 advisories
- RHSA-2022:1620 Released 2022-05-04 · Red Hat rating ImportantOpenShift Container Platform 4.6.57 packages and security update
- 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 +2
- RHSA-2022:1420 Released 2022-04-27 · Red Hat rating ImportantOpenShift Container Platform 3.11.685 security and bug fix update
- Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins-3.11.1650371376-1.el7, jenkins-2.319.3.1650348949-1.el7
- RHSA-2022:1248 Released 2022-04-13 · Red Hat rating ImportantOpenShift Container Platform 4.7.48 packages and security update
- Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins-4.7.1648800585-1.el8
Show 3 more Red Hat advisories
- RHSA-2022:1021 Released 2022-03-29 · Red Hat rating ImportantOpenShift Container Platform 4.9.26 security update
- Red Hat OpenShift Container Platform 4.9 haproxy-2.2.15-4.el8, haproxy22-2.2.15-4.el8, jenkins-2-plugins-4.9.1647580879-1.el8
- RHSA-2022:1025 Released 2022-03-28 · Red Hat rating ImportantOpenShift Container Platform 4.10.6 security update
- Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins-4.10.1647505461-1.el8
- RHSA-2022:0871 Released 2022-03-22 · Red Hat rating ImportantOpenShift Container Platform 4.8.35 security update
- 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, jenkins-2-plugins-4.8.1646993358-1.el8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2022:1420 |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2022:1025 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2022:1620 |
| Red Hat OpenShift Container Platform 4.7 | Fixed | RHSA-2022:1248 |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2022:0871 |
| Red Hat OpenShift Container Platform 4.9 | Fixed | RHSA-2022:1021 |
Not affected: 5 products
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4.10
- Red Hat OpenShift Container Platform 4.6
- Red Hat OpenShift Container Platform 4.8
- Red Hat OpenShift Container Platform 4.9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25183
- 2026-10-03 Alias added: GHSA-pfwp-q984-w7wh
References
More Jenkins Pipeline vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15846 A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in… CVSS 3.1HIGH 8.8
- TI-2019-15847 A sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier… CVSS 3.1HIGH 8.8
- TI-2023-11034 Cross-site scripting in Jenkins Pipeline: Build Step Plugin CVSS 3.1MEDIUM 5.4
- TI-2019-15886 A sandbox bypass vulnerability in Jenkins Pipeline: Groovy Plugin 2.64 and earlier allows… CVSS 3.1CRITICAL 9.8
- TI-2022-21197 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin CVSS 3.1CRITICAL 9.9
Sources
- CVE-2022-25183 · CVE Program
- CVE-2022-25183 · NVD
- FIRST EPSS
- GHSA-pfwp-q984-w7wh · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25183 · 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