8.8high
Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.60% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-7w2w-fwpf-9m4h
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin | from unspecified up to 552.vd9cc05b8a2e1 Not affected: 2.21.1, 2.18.1 | CVE List |
| org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) | before 561.va_ce0de3c2d69 | GitHub Advisory Database |
| jenkins pipeline:shared_groovy_libraries | up to 552.vd9cc05b8a2e1 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Jenkins Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same workspace directory for all checkouts of Pipeline libraries with the same name regardless of the SCM being used and the source of the library configuration.
This 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.
Pipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 uses distinct checkout directories per SCM for Pipeline libraries.
NVD (es)
Una vulnerabilidad de omisión de sandbox en Jenkins Pipeline: Shared Groovy Libraries Plugin versiones 552.vd9cc05b8a2e1 y anteriores, permite a atacantes con permiso Item/Configure ejecutar código arbitrario en el contexto de la JVM del controlador Jenkins mediante contenidos SCM diseñados especialmente, si ya se presenta una biblioteca global de Pipeline
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25181 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7w2w-fwpf-9m4h changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-25181 changed 2026-06-17 | Public domain |