NetSight
high8.8

CVE-2022-25173

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

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins.workflow:workflow-cps>= 2646.v6ed3b5b01ff1, < 2656.vf7a2656.vf7a

Affected products

VendorProductAffected versions
JenkinsPipeline\
through 2648.va9433432b33c

Weakness classification

References