{"id":"CVE-2022-25173","aliases":["CVE-2022-25173","GHSA-4m7p-55jm-3vwv"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-02-15T16:10:50.000Z","modified":"2026-06-17T04:33:08.970Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2648.va9433432b33c","status":"affected"},{"version":"2.94.1","status":"unaffected"},{"version":"2.92.1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins Pipeline: Groovy Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2646.v6ed3b5b01ff1","status":"affected","fixed":"2656.vf7a"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.93","status":"affected","fixed":"2.94.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.92.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2648.va9433432b33c"}],"vendor":"jenkins","product":"pipeline:_groovy","cpe":"cpe:2.3:a:jenkins:pipeline\\:_groovy:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463","tags":["issue-tracking","patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/02/15/2","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25173","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25173","url":"https://www.cve.org/CVERecord?id=CVE-2022-25173","licence":"CVE Terms of Use","modified":"2024-08-03T04:36:05.779Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4m7p-55jm-3vwv","url":"https://github.com/advisories/GHSA-4m7p-55jm-3vwv","licence":"CC-BY-4.0","modified":"2024-02-16T08:23:33.227Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25173","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25173","licence":"Public domain","modified":"2026-06-17T04:33:08.970Z"}],"updatedAt":"2026-11-25T22:58:09.694Z","epss":{"score":0.01242,"percentile":0.69192,"date":"2026-11-30T12:00:22.000Z"}}