{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/12951?format=json","vulnerability_id":"VCID-chux-mqkp-cfe5","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nJenkins 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.","aliases":[{"alias":"CVE-2022-25178"},{"alias":"GHSA-5hfv-mg5x-mv32"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80542?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.18.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.18.1"},{"url":"http://public2.vulnerablecode.io/api/packages/80541?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.21.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.21.1"},{"url":"http://public2.vulnerablecode.io/api/packages/46283?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va_ce0de3c2d69","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va_ce0de3c2d69"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/143293?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.19","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-msed-m3xv-rkfg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.19"},{"url":"http://public2.vulnerablecode.io/api/packages/143292?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.22","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-msed-m3xv-rkfg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.22"},{"url":"http://public2.vulnerablecode.io/api/packages/46282?format=json","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@552.vd9cc05b8a2e1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@552.vd9cc05b8a2e1"},{"url":"http://public2.vulnerablecode.io/api/packages/99352?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@3.11.1650371376-1?arch=el7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@3.11.1650371376-1%3Farch=el7"},{"url":"http://public2.vulnerablecode.io/api/packages/99353?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@4.6.1650364520-1?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.6.1650364520-1%3Farch=el8"},{"url":"http://public2.vulnerablecode.io/api/packages/99350?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@4.7.1648800585-1?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.7.1648800585-1%3Farch=el8"},{"url":"http://public2.vulnerablecode.io/api/packages/99111?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@4.8.1646993358-1?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2ftm-axhf-gbbd"},{"vulnerability":"VCID-2jak-uh1e-zbfx"},{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.8.1646993358-1%3Farch=el8"},{"url":"http://public2.vulnerablecode.io/api/packages/99354?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@4.9.1647580879-1?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.9.1647580879-1%3Farch=el8"},{"url":"http://public2.vulnerablecode.io/api/packages/99351?format=json","purl":"pkg:rpm/redhat/jenkins-2-plugins@4.10.1647505461-1?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3vqh-anad-xqbt"},{"vulnerability":"VCID-41xr-8bvs-tucs"},{"vulnerability":"VCID-a8d9-5365-qubn"},{"vulnerability":"VCID-chux-mqkp-cfe5"},{"vulnerability":"VCID-gv26-67cj-t3ae"},{"vulnerability":"VCID-h57k-wsgx-4kbr"},{"vulnerability":"VCID-hp27-w6wh-3ya6"},{"vulnerability":"VCID-jj9c-e7k7-aqea"},{"vulnerability":"VCID-m4y6-523t-v7ft"},{"vulnerability":"VCID-msed-m3xv-rkfg"},{"vulnerability":"VCID-s2j3-7pfj-buav"},{"vulnerability":"VCID-x5nw-w14p-juas"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.10.1647505461-1%3Farch=el8"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25178.json","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25178.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25178","reference_id":"","reference_type":"","scores":[{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52968","published_at":"2026-05-14T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52887","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52898","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.5286","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52809","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52903","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.5287","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52895","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52835","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52861","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52829","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.5288","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52874","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52925","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52909","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52893","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.5293","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.52938","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00296","scoring_system":"epss","scoring_elements":"0.5292","published_at":"2026-04-21T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25178"},{"reference_url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/jenkinsci/workflow-cps-global-lib-plugin"},{"reference_url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2055789","reference_id":"2055789","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2055789"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25178","reference_id":"CVE-2022-25178","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25178"},{"reference_url":"https://github.com/advisories/GHSA-5hfv-mg5x-mv32","reference_id":"GHSA-5hfv-mg5x-mv32","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-5hfv-mg5x-mv32"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:0871","reference_id":"RHSA-2022:0871","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:0871"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1021","reference_id":"RHSA-2022:1021","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1021"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1025","reference_id":"RHSA-2022:1025","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1025"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1248","reference_id":"RHSA-2022:1248","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1248"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1420","reference_id":"RHSA-2022:1420","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1420"},{"reference_url":"https://access.redhat.com/errata/RHSA-2022:1620","reference_id":"RHSA-2022:1620","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2022:1620"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":59,"name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-chux-mqkp-cfe5"}