VDB
Sign up
HIGH8.8

GHSA-mhwq-4mh7-fv7c

Arbitrary code execution due to incomplete sandbox protection in Jenkins Pipeline

Quick fix

GHSA-mhwq-4mh7-fv7c — org.jenkins-ci.plugins.workflow:workflow-cps: upgrade to the fixed version with the command below.

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

Details

Arbitrary code execution due to incomplete sandbox protection: Constructors, instance variable initializers, and instance initializers in Pipeline scripts were not subject to sandbox protection, and could therefore execute arbitrary code. This could be exploited e.g. by regular Jenkins users with the permission to configure Pipelines in Jenkins, or by trusted committers to repositories containing Jenkinsfiles.

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.36.1
Fix# pom.xml: bump <version>2.36.1</version> for org.jenkins-ci.plugins.workflow:workflow-cps

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"]}'