github.com/hashicorp/go-slug
Affected
- introduced
0, fixed0.5.0(semver)
Fixed versions
0.5.0
Fix
- Fixed version
0.5.0go get github.com/hashicorp/[email protected]
Advisory
Also known as: CVE-2020-29529, GHSA-2g5j-5x95-r6hr
Directory traversal in github.com/hashicorp/go-slug
Protections against directory traversal during archive extraction can be bypassed by chaining multiple symbolic links within the archive. This allows a malicious attacker to cause files to be created outside of the target directory. Additionally if the attacker is able to read extracted files they may create symbolic links to arbitrary files on the system which the unpacker has permissions to read.
Not rated by the source.
0, fixed 0.5.0 (semver)0.5.0
0.5.0go get github.com/hashicorp/[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
Source: Go Vulnerability Database · CC BY 4.0