{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25178","id":"CVE-2022-25178","title":"Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin","description":"Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.","descriptionLong":"Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.","published":"2022-02-15T16:10:58.000Z","updated":"2026-10-24T10:30:17.551864269Z","reserved":"2022-02-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","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":[">=2.22 <561.va_ce0de3c2d69",">=2.19 <2.21.1","<2.18.1"],"fixed":["561.va_ce0de3c2d69","2.21.1","2.18.1"],"advisory":"GHSA-5hfv-mg5x-mv32"}],"cwes":["CWE-22"],"aliases":["GHSA-5hfv-mg5x-mv32"],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25178","tags":["advisory"]},{"url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01668,"epssPercentile":0.77273,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25178","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25178","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25178","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5hfv-mg5x-mv32","ok":true,"note":"GHSA-5hfv-mg5x-mv32"},{"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-25178","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}