8.8high
Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.24% (higher than 69% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-4m7p-55jm-3vwv
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
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Pipeline: Groovy Plugin | from unspecified up to 2648.va9433432b33c Not affected: 2.94.1, 2.92.1 | CVE List |
| org.jenkins-ci.plugins.workflow:workflow-cps (Maven) | from 2646.v6ed3b5b01ff1 before 2656.vf7a, from 2.93 before 2.94.1, before 2.92.1 | GitHub Advisory Database |
| jenkins pipeline:_groovy | up to 2648.va9433432b33c | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Jenkins Pipeline: Groovy Plugin versiones 2648.va9433432b33c y anteriores usan los mismos directorios de salida para distintos SCMs cuando leen el archivo de script (típicamente Jenkinsfile) para Pipelines, permitiendo a atacantes con permiso Item/Configure invocar comandos arbitrarios del SO en el controlador mediante contenidos SCM diseñados
References
| https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463 | issue-tracking, patch, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/02/15/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25173 | advisory | |
| https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85 | web | |
| https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25173 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4m7p-55jm-3vwv changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-25173 changed 2026-06-17 | Public domain |