GitHub Advisoryadvisory · Go

GHSA-32qh-8vg6-9g43 Cloud Foundry Archiver vulnerable to path traversal

CRITICAL Published 2022-12-28 Modified 2023-01-10 Official page ↗
Aliases
CVE-2018-25046
Ecosystem
Go
Packages
github.com/cloudfoundry/archiver, code.cloudfoundry.org/archiver
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-22
Reviewed
2022-12-30

Affected packages

• Go github.com/cloudfoundry/archiver: < 0.0.0-20180523222229-09b5706aa936 → fixed in 0.0.0-20180523222229-09b5706aa936 • Go code.cloudfoundry.org/archiver: < 0.0.0-20180523222229-09b5706aa936 → fixed in 0.0.0-20180523222229-09b5706aa936

Description

Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Related

Alias · CVE (1)

  • CVE-2018-25046 Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References