{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25174","id":"CVE-2022-25174","title":"Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin","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.","descriptionLong":"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":"2022-02-15T16:10:52.000Z","updated":"2026-10-24T10:30:27.930632170Z","reserved":"2022-02-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin"],"affectedProducts":[{"vendor":"Jenkins project","product":"Jenkins Pipeline: Shared Groovy Libraries Plugin","defaultStatus":null,"versions":[{"lessThanOrEqual":"552.vd9cc05b8a2e1","status":"affected","version":"unspecified","versionType":"custom"},{"status":"unaffected","version":"2.21.1"},{"status":"unaffected","version":"2.18.1"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib","ranges":[">=544.vff04fa68714d <561.va",">=2.19 <2.21.1","<2.18.1"],"fixed":["561.va","2.21.1","2.18.1"],"advisory":"GHSA-g9fx-6j5c-grmw"}],"cwes":["CWE-78"],"aliases":["GHSA-g9fx-6j5c-grmw"],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25174","tags":["advisory"]},{"url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365","tags":["web"]},{"url":"https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01404,"epssPercentile":0.73142,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25174","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25174","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25174","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g9fx-6j5c-grmw","ok":true,"note":"GHSA-g9fx-6j5c-grmw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25174","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}