GitHub Advisory Database
GHSA-pfwp-q984-w7wh
Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure
Details
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 versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | All versions before 561.va_ce0de3c2d69 (fixed in 561.va_ce0de3c2d69) |