Advisory

GO-2021-0106

Also known as: CVE-2020-36566, GHSA-jpf8-h7h7-3ppm

Summary

Path traversal in github.com/whyrusleeping/tar-utils

Details

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

Severity

Not rated by the source.

Dates

Published
2021-07-28 18:08 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/whyrusleeping/tar-utils

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20201201191210-20a61371de5b (semver)

Fixed versions

0.0.0-20201201191210-20a61371de5b

Fix

  • Fixed version 0.0.0-20201201191210-20a61371de5b
    go get github.com/whyrusleeping/[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: Go Vulnerability Database · CC BY 4.0

Sources & licences