{"id":"CVE-2022-25182","aliases":["CVE-2022-25182","GHSA-7rcw-fwfh-2h2g"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure","summary":"A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code on the Jenkins controller JVM using specially crafted library names if a global Pipeline library is already configured.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code on the Jenkins controller JVM using specially crafted library names if a global Pipeline library is already configured.","source":"cvelist"},{"lang":"en","text":"Jenkins Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create directories without canonicalization or sanitization.\n\nThis allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library is already configured.\n\nPipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 sanitizes the names of Pipeline libraries when creating library directories.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de omisión de sandbox en Jenkins Pipeline: Shared Groovy Libraries Plugin versiones 552.vd9cc05b8a2e1 y anteriores, permite a atacantes con permiso Item/Configure ejecutar código arbitrario en la JVM del controlador Jenkins usando nombres de bibliotecas especialmente diseñados si ya se presenta una biblioteca global de Pipeline","source":"nvd"}],"published":"2022-02-15T16:11:05.000Z","modified":"2026-06-17T04:33:09.850Z","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-693"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"552.vd9cc05b8a2e1","status":"affected"},{"version":"2.21.1","status":"unaffected"},{"version":"2.18.1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins Pipeline: Shared Groovy Libraries Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"561.va_ce0de3c2d69"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"552.vd9cc05b8a2e1"}],"vendor":"jenkins","product":"pipeline:shared_groovy_libraries","cpe":"cpe:2.3:a:jenkins:pipeline\\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2422","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25182","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-19T19:28:21.351Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25182","url":"https://www.cve.org/CVERecord?id=CVE-2022-25182","licence":"CVE Terms of Use","modified":"2024-11-19T19:28:36.784Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7rcw-fwfh-2h2g","url":"https://github.com/advisories/GHSA-7rcw-fwfh-2h2g","licence":"CC-BY-4.0","modified":"2024-02-16T08:13:08.301Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25182","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25182","licence":"Public domain","modified":"2026-06-17T04:33:09.850Z"}],"updatedAt":"2026-11-25T22:58:09.697Z","epss":{"score":0.01601,"percentile":0.76516,"date":"2026-12-01T12:00:22.000Z"}}