CVE-2022-25174
Aliases:GHSA-g9fx-6j5c-grmw
Advisory lineage Upstream: 0 Downstream: 6
Modified
Published: 15 Feb 2022, 16:10
Last modified:03 Aug 2024, 04:36
Vulnerability Summary
Overall Risk (default)
medium
35/100 CVSS Score
8.8 HIGH
v3.1 (nvd)
EPSS Score
0.22% LOW
0% probability -1.18%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
15 Feb 2022, 16:10
Published
Vulnerability first disclosed
03 Aug 2024, 04:36
Last Modified
Vulnerability information updated
Description
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.5AV:N/AC:L/Au:S/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.22%• Percentile: 45%
Techniques & Countermeasures
- CWE-78•Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Affected Systems
- jenkins project•jenkins pipeline: shared groovy libraries plugin
≥ unspecified, ≤ 552.vd9cc05b8a2e1
- org.jenkins-ci.plugins.workflow•workflow-cps-global-lib
≥ 544.vff04fa68714d, < 561.va | ≥ 2.19, < 2.21.1 | < 2.18.1
References (4)
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463
- https://nvd.nist.gov/vuln/detail/CVE-2022-25174
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365
- https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json