hoch7.5
CVE-2020-29529
Unsafe tar unpacking in HashiCorp go-slug
Auswirkung
HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/hashicorp/go-slug | < 0.5.0 | 0.5.0 |
Betroffene Produkte · Hashicorp
| Produkt | Betroffene Versionen |
|---|---|
| Go-slug | vor 0.5.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0
- https://github.com/hashicorp/go-slug/pull/12
- https://github.com/hashicorp/go-slug/releases/tag/v0.5.0
- https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug
- https://github.com/advisories/GHSA-2g5j-5x95-r6hr
- https://nvd.nist.gov/vuln/detail/CVE-2020-29529
- https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f
- https://github.com/hashicorp/go-slug/commit/764785bc4cbb9e600ad1cf1a6bd21b535c182983
- https://pkg.go.dev/vuln/GO-2021-0094