Advisory

GHSA-2g5j-5x95-r6hr

Also known as: CVE-2020-29529, GO-2021-0094

Summary

Unsafe tar unpacking in HashiCorp go-slug

Details

HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-02-06 23:16 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

github.com/hashicorp/go-slug

Go · All systems

Affected

  • introduced 0, fixed 0.5.0 (semver)

Fixed versions

0.5.0

Fix

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