Advisory

GHSA-32qh-8vg6-9g43

Also known as: CVE-2018-25046, GO-2020-0025

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-12-28 00:30 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

github.com/cloudfoundry/archiver

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20180523222229-09b5706aa936 (semver)

Fixed versions

0.0.0-20180523222229-09b5706aa936

Fix

  • Fixed version 0.0.0-20180523222229-09b5706aa936
    go get github.com/cloudfoundry/[email protected]

code.cloudfoundry.org/archiver

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20180523222229-09b5706aa936 (semver)

Fixed versions

0.0.0-20180523222229-09b5706aa936

Fix

  • Fixed version 0.0.0-20180523222229-09b5706aa936
    go get code.cloudfoundry.org/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences