high8.8
CVE-2022-25183
Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure
Impact
Jenkins Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization. This allows 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. Pipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 sanitizes the names of Pipeline libraries when creating library cache directories.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | <= 552.vd9cc05b8a2e1 | 561.va_ce0de3c2d69 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Pipeline\ | through 552.vd9cc05b8a2e1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2586
- https://github.com/advisories/GHSA-pfwp-q984-w7wh
- https://nvd.nist.gov/vuln/detail/CVE-2022-25183
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365