Vulnerability · Published Feb 15, 2022 · Assigned by jenkins
CVE-2022-25173
High 8.8
In plain English
A high-severity security flaw in Jenkins Pipeline: Groovy Plugin from Jenkins project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps | 2656.vf7a | GHSA-4m7p-55jm-3vwv |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps | 2.94.1 | GHSA-4m7p-55jm-3vwv |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps | 2.92.1 | GHSA-4m7p-55jm-3vwv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Jenkins project | Jenkins Pipeline: Groovy Plugin | unspecified – through 2648.va9433432b33c |
References
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463 x_refsource_CONFIRM
- [oss-security] 20220215 Multiple vulnerabilities in Jenkins plugins mailing-list, x_refsource_MLIST