GHSA-32qh-8vg6-9g43

Suggest an improvement
Source
https://github.com/advisories/GHSA-32qh-8vg6-9g43
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-32qh-8vg6-9g43/GHSA-32qh-8vg6-9g43.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-32qh-8vg6-9g43
Aliases
Published
2022-12-28T00:30:23Z
Modified
2023-11-01T04:49:25.254433Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-12-27T22:15:00Z",
    "github_reviewed_at": "2022-12-30T19:15:54Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Go / github.com/cloudfoundry/archiver

Package

Name
github.com/cloudfoundry/archiver
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudfoundry/archiver

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20180523222229-09b5706aa936

Go / code.cloudfoundry.org/archiver

Package

Name
code.cloudfoundry.org/archiver
View open source insights on deps.dev
Purl
pkg:golang/code.cloudfoundry.org/archiver

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20180523222229-09b5706aa936