Vulnerability Report: GO-2021-0067
standard library- CVE-2021-27919
- Affects: archive/zip
- Published: Apr 14, 2021
- Modified: May 20, 2024
Using Reader.Open on an archive containing a file with a path prefixed by "../" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.
Affected Packages
-
PathGo VersionsSymbols
-
from go1.16.0-0 before go1.16.1
1 unexported affected symbols
- toValidName
Aliases
References
- https://go.dev/cl/300489
- https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8
- https://go.dev/issue/44916
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ
- https://vuln.go.dev/ID/GO-2021-0067.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.