ADVISORIES

GitHub Advisory Database

GHSA-7rcw-fwfh-2h2g

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 directories without canonicalization or 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 is already configured.

Pipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 sanitizes the names of Pipeline libraries when creating library directories.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib
All versions before 561.va_ce0de3c2d69 (fixed in 561.va_ce0de3c2d69)

References