ADVISORIES

GitHub Advisory Database

GHSA-4m7p-55jm-3vwv

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

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
From 2646.v6ed3b5b01ff1 before 2656.vf7a (fixed in 2656.vf7a)
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
From 2.93 before 2.94.1 (fixed in 2.94.1)
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
All versions before 2.92.1 (fixed in 2.92.1)

References