hoch7.5
CVE-2020-7664
Path Traversal in github.com/unknwon/cae/zip
Auswirkung
The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide. ### Specific Go Packages Affected github.com/unknwon/cae/zip
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/unknwon/cae | < 1.0.1 | 1.0.1 |
Betroffene Produkte · Compression And Archive Extensions Project
| Produkt | Betroffene Versionen |
|---|---|
| Compression And Archive Extensions Zip Project | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383
- https://github.com/advisories/GHSA-vpx7-vm66-qx8r
- https://nvd.nist.gov/vuln/detail/CVE-2020-7664
- https://github.com/unknwon/cae/commit/07971c00a1bfd9dc171c3ad0bfab5b67c2287e11
- https://pkg.go.dev/vuln/GO-2021-0228