{"id":"CVE-2022-25177","aliases":["CVE-2022-25177","GHSA-q234-x887-9rxh"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin","summary":"Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.","source":"cvelist"},{"lang":"es","text":"Jenkins Pipeline: Shared Groovy Libraries Plugin versiones 552.vd9cc05b8a2e1 y anteriores, sigue enlaces simbólicos a ubicaciones fuera de la biblioteca esperada de Pipeline cuando lee archivos usando el paso libraryResource, permitiendo a atacantes capaces de configurar Pipelines para leer archivos arbitrarios en el sistema de archivos del controlador de Jenkins","source":"nvd"}],"published":"2022-02-15T16:10:56.000Z","modified":"2026-06-17T04:33:09.367Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-59"],"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":"2.22","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":[{"type":"ecosystem","introduced":"2.19","status":"affected","fixed":"2.21.1"}],"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":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.18.1"}],"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-2613","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25177","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25177","url":"https://www.cve.org/CVERecord?id=CVE-2022-25177","licence":"CVE Terms of Use","modified":"2024-08-03T04:36:06.654Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q234-x887-9rxh","url":"https://github.com/advisories/GHSA-q234-x887-9rxh","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:42.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25177","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25177","licence":"Public domain","modified":"2026-06-17T04:33:09.367Z"}],"updatedAt":"2026-11-25T22:58:09.695Z","epss":{"score":0.01742,"percentile":0.7843,"date":"2026-12-01T12:00:22.000Z"}}