CVE-2022-25174
HIGH 8.8CVSS 3.1Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipeline libraries, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.
- Published
- 15 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-g9fx-6j5c-grmw
- Sources
- NVDJSONOSV GHSA-g9fx-6j5c-grmwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:shared_groovy_librariescpe:2.3:a:jenkins:pipeline\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:* |
<= 552.vd9cc05b8a2e1 | |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | >= 544.vff04fa68714d, < 561.va | 561.va |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | >= 2.19, < 2.21.1 | 2.21.1 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | < 2.18.1 | 2.18.1 |
References
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25174 · ADVISORY
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365 · WEB
- https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Feb 2022)