Remote command execution In org.jenkins-ci.plugins.workflow:workflow-cps
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
maven | 2656.vf7a, 2.94.1, 2.92.1 |
Aliases
1. 2. 3. 4.
References
1. 2. 3. 4. 5.