VDB
Sign up
HIGH8.8

GHSA-4m7p-55jm-3vwv

Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin

Quick fix

GHSA-4m7p-55jm-3vwv — org.jenkins-ci.plugins.workflow:workflow-cps: upgrade to the fixed version with the command below.

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

Details

Jenkins Pipeline: Groovy Plugin prior to 2656.vf7a_e7b_75a_457, 2.94.1, and 2.92.1 uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.plugins.workflow:workflow-cps
Introduced in: 2646.v6ed3b5b01ff1Fixed in: 2656.vf7a
Fix# pom.xml: bump <version>2656.vf7a</version> for org.jenkins-ci.plugins.workflow:workflow-cps
Maven/org.jenkins-ci.plugins.workflow:workflow-cps
Introduced in: 2.93Fixed in: 2.94.1
Fix# pom.xml: bump <version>2.94.1</version> for org.jenkins-ci.plugins.workflow:workflow-cps
Maven/org.jenkins-ci.plugins.workflow:workflow-cps
Introduced in: 0Fixed in: 2.92.1
Fix# pom.xml: bump <version>2.92.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"]}'