CVE-2018-25046
CRITICAL 9.1CVSS 3.1Cloud Foundry Archiver vulnerable to path traversal
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- Published
- 27 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-32qh-8vg6-9g43GO-2020-0025
- Sources
- NVDJSONOSV GHSA-32qh-8vg6-9g43JSONOSV GO-2020-0025JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cloudfoundry | archivercpe:2.3:a:cloudfoundry:archiver:*:*:*:*:*:*:*:* |
< 2018-05-23 | 2018-05-23 |
| OSV | Go | github.com/cloudfoundry/archiver | < 0.0.0-20180523222229-09b5706aa936 | 0.0.0-20180523222229-09b5706aa936 |
| OSV | Go | code.cloudfoundry.org/archiver | < 0.0.0-20180523222229-09b5706aa936 | 0.0.0-20180523222229-09b5706aa936 |
References
- https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840 · Patch, Third Party Advisory, WEB, FIX
- https://pkg.go.dev/vuln/GO-2020-0025 · Third Party Advisory, WEB
- https://snyk.io/research/zip-slip-vulnerability · Technical Description, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-25046 · ADVISORY
- https://github.com/cloudfoundry/archiver · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Dec 2022)