{"id":"GHSA-g9fx-6j5c-grmw","summary":"Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin","details":"Jenkins Pipeline: Shared Groovy Libraries Plugin prior to 561.va_ce0de3c2d69, 2.21.1, and 2.18.1 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.","aliases":["CVE-2022-25174"],"modified":"2024-01-02T05:49:14.508183Z","published":"2022-02-16T00:01:36Z","database_specific":{"github_reviewed_at":"2022-06-20T22:48:09Z","nvd_published_at":"2022-02-15T17:15:00Z","cwe_ids":["CWE-78"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25174"},{"type":"WEB","url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365"},{"type":"WEB","url":"https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"544.vff04fa68714d"},{"fixed":"561.va"}]}],"versions":["544.vff04fa68714d","545.v7b28cce323cf","548.v9085a486966a","552.554.vdba55efb9e88","552.vd9cc05b8a2e1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-g9fx-6j5c-grmw/GHSA-g9fx-6j5c-grmw.json"}},{"package":{"name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.19"},{"fixed":"2.21.1"}]}],"versions":["2.19","2.20","2.21"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-g9fx-6j5c-grmw/GHSA-g9fx-6j5c-grmw.json"}},{"package":{"name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1"}]}],"versions":["0.1-beta-5","0.1-beta-6","0.1-beta-7","0.1-beta-8","1.0","1.0-beta-1","1.1","1.10","1.10-beta-1","1.10.1","1.11","1.11-beta-1","1.11-beta-2","1.11-beta-3","1.11-beta-4","1.12","1.12-beta-1","1.12-beta-2","1.12-beta-3","1.13","1.14","1.14-beta-1","1.14.1","1.14.1-beta-1","1.14.2","1.15","1.15-beta-1","1.2","1.3","1.4","1.4.1","1.4.2","1.4.3","1.4.3-beta-1","1.5","1.6","1.6-alpha-1","1.7","1.7-alpha-1","1.8","1.9","1.9-beta-1","2.0","2.1","2.10","2.11","2.12","2.12.1","2.13","2.13.1","2.14","2.15","2.16","2.17","2.18","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-g9fx-6j5c-grmw/GHSA-g9fx-6j5c-grmw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}