{"id":"CVE-2018-25046","aliases":["GHSA-32qh-8vg6-9g43","GO-2020-0025"],"summary":"Path traversal in code.cloudfoundry.org/archiver","published_at":"2021-04-14T20:04:52Z","modified_at":"2025-04-11T23:20:08Z","products":[],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.012900000438094139,"percentile":0.7085800170898438,"date":"2026-11-19T00:00:00Z"},"priority":11.1,"details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"code.cloudfoundry.org/archiver/code.cloudfoundry.org/archiver/extractor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"cvelistv5","source":"CVE-2018-25046","relation":"self"},{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GHSA-32qh-8vg6-9g43","relation":"self"},{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GO-2020-0025","relation":"self"},{"ecosystem":"Go","package":"github.com/cloudfoundry/archiver","purl":"pkg:golang/github.com/cloudfoundry/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GHSA-32qh-8vg6-9g43","relation":"self"},{"ecosystem":"NVD","package":"cloudfoundry:archiver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2018-05-23"}]}],"fixed":["2018-05-23"],"provider":"nvd","source":"CVE-2018-25046","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-builder-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2018-25046"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2018-25046","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-25046","license":"CC-BY-4.0","published_at":"2022-12-27T21:13:15.767Z","modified_at":"2025-04-11T22:53:21.678Z","summary":"Path traversal in code.cloudfoundry.org/archiver","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"CISA-ADP:CVE-2018-25046"}],"affected":[{"ecosystem":"CVE","package":"code.cloudfoundry.org/archiver/code.cloudfoundry.org/archiver/extractor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"cvelistv5","source":"CVE-2018-25046","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0025"}]},{"provider":"nvd","source_id":"CVE-2018-25046","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046","severity":[],"affected":[{"ecosystem":"NVD","package":"cloudfoundry:archiver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2018-05-23"}]}],"fixed":["2018-05-23"],"provider":"nvd","source":"CVE-2018-25046","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-32qh-8vg6-9g43","relation":"self","url":"https://osv.dev/vulnerability/GHSA-32qh-8vg6-9g43","license":"CC-BY-4.0","published_at":"2022-12-28T00:30:23Z","modified_at":"2023-11-08T04:00:15.339766Z","summary":"Cloud Foundry Archiver vulnerable to path traversal","details":"Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"GHSA-32qh-8vg6-9g43"}],"affected":[{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GHSA-32qh-8vg6-9g43","relation":"self"},{"ecosystem":"Go","package":"github.com/cloudfoundry/archiver","purl":"pkg:golang/github.com/cloudfoundry/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GHSA-32qh-8vg6-9g43","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046"},{"type":"WEB","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"PACKAGE","url":"https://github.com/cloudfoundry/archiver"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0025"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}]},{"provider":"osv","source_id":"GO-2020-0025","relation":"self","url":"https://osv.dev/vulnerability/GO-2020-0025","license":"CC-BY-4.0","published_at":"2021-04-14T20:04:52Z","modified_at":"2024-05-20T16:03:47Z","summary":"Path traversal in code.cloudfoundry.org/archiver","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","severity":[],"affected":[{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"fixed":["0.0.0-20180523222229-09b5706aa936"],"provider":"osv","source":"GO-2020-0025","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}]},{"provider":"redhat-vex","source_id":"CVE-2018-25046","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-25046","license":"CC-BY-4.0","published_at":"2022-12-27T00:00:00Z","modified_at":"2025-04-11T23:20:08Z","summary":"cloudfoundry/archiver: improper path sanitization can result in files being extracted outside of the target directory","details":"A flaw was found in the cloudfoundry/archiver package. In affected versions of this package, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory due to improper path sanitization.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"CVE-2018-25046"},{"type":"Red Hat","score":"Important","source":"CVE-2018-25046"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-builder-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2018-25046"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-25046.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-25046"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2157840"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-25046"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046"},{"type":"WEB","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0025"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}]}],"references":[{"type":"WEB","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0025"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046"},{"type":"PACKAGE","url":"https://github.com/cloudfoundry/archiver"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-25046.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-25046"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2157840"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-25046"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2018-25046","url":"https://www.cve.org/CVERecord?id=CVE-2018-25046","license":"CC-BY-4.0","modified_at":"2025-04-11T22:53:21.678Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2018-25046","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046","relation":"self"},{"provider":"osv","source_id":"GHSA-32qh-8vg6-9g43","url":"https://osv.dev/vulnerability/GHSA-32qh-8vg6-9g43","license":"CC-BY-4.0","modified_at":"2023-11-08T04:00:15.339766Z","relation":"self"},{"provider":"osv","source_id":"GO-2020-0025","url":"https://osv.dev/vulnerability/GO-2020-0025","license":"CC-BY-4.0","modified_at":"2024-05-20T16:03:47Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-25046","url":"https://access.redhat.com/security/cve/CVE-2018-25046","license":"CC-BY-4.0","modified_at":"2025-04-11T23:20:08Z","relation":"self"}]}
