{"id":"CVE-2018-25046","aliases":["EUVD-2022-7478","GHSA-32qh-8vg6-9g43","GO-2020-0025"],"status":"published","title":"Path traversal in code.cloudfoundry.org/archiver","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0129,"percentile":0.70421,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2021-04-14T20:04:52Z","modified":"2026-10-20T10:51:35Z","fixes":[{"ecosystem":"Go","package":"github.com/cloudfoundry/archiver","fixed_in":["0.0.0-20180523222229-09b5706aa936"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","fixed_in":["0.0.0-20180523222229-09b5706aa936"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/cloudfoundry/archiver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}]},{"source":"ghsa","ecosystem":"Go","package":"code.cloudfoundry.org/archiver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/cloudfoundry/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}]},{"source":"osv","ecosystem":"Go","package":"code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}]},{"source":"osv","ecosystem":"Go","package":"code.cloudfoundry.org/archiver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}]}],"products":[{"vendor":"cloudfoundry","product":"archiver"},{"vendor":"code.cloudfoundry.org/archiver","product":"code.cloudfoundry.org/archiver/extractor"}],"references":[{"url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_transferred","Technical Description","Third Party Advisory","advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0025","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-32qh-8vg6-9g43"},{"url":"https://github.com/cloudfoundry/archiver","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-25046","title":"Path traversal in code.cloudfoundry.org/archiver","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T21:13:15.767Z","modified":"2025-04-11T22:53:21.678Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"adp"}],"updated_at":"2026-11-02T14:35:02.289647Z"}],"euvd":[{"id":"EUVD-2022-7478","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T21:13:15Z","modified":"2025-04-11T22:53:21Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-32qh-8vg6-9g43","title":"Cloud Foundry Archiver vulnerable to path traversal","description":"Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-02-14T14:38:43Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2018-25046","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T22:15:11.14Z","modified":"2026-06-17T01:54:35.833Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"CVE-2018-25046","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T22:15:11.14Z","modified":"2026-10-20T10:51:35.476635223Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"GHSA-32qh-8vg6-9g43","title":"Cloud Foundry Archiver vulnerable to path traversal","description":"Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-11-08T04:00:15.339766Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:35.050232Z"},{"id":"GO-2020-0025","title":"Path traversal in code.cloudfoundry.org/archiver","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
