VDB
Sign up
HIGH8.8

GHSA-gqhm-4h93-rrhg

Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

Quick fix

GHSA-gqhm-4h93-rrhg — org.jenkins-ci.plugins.workflow:workflow-cps: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.60</version> for org.jenkins-ci.plugins.workflow:workflow-cps

Details

A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.59 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java, groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java that allows attackers with Job/Configure permission, or unauthorized attackers with SCM commit privileges and corresponding pipelines based on Jenkinsfiles set up in Jenkins, to execute arbitrary code on the Jenkins master JVM

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.plugins.workflow:workflow-cps
Introduced in: 0Fixed in: 2.60
Fix# pom.xml: bump <version>2.60</version> for org.jenkins-ci.plugins.workflow:workflow-cps
Maven/org.jenkins-ci.plugins:script-security
Introduced in: 0Fixed in: 1.48
Fix# pom.xml: bump <version>1.48</version> for org.jenkins-ci.plugins:script-security

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps"]}'