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

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.

Vulnerability ID: GHSA-4m7p-55jm-3vwv
Aliases: CVE-2022-25173
Published: 2022-02-16 00:01:37
CWE: CWE-78
Severity rating: HIGH
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages:
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps