~ / search / GHSA-7rcw-fwfh-2h2g

GHSA-7rcw-fwfh-2h2g

Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

Source: GitHub Advisory Database (reviewed) High CVE-2022-25182

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib < 561.va_ce0de3c2d69 561.va_ce0de3c2d69

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.