Vulnerability Report: GO-2021-0067
- CVE-2021-27919
- Affects: archive/zip
- Published: Apr 14, 2021
- Modified: Jun 12, 2023
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
-
PathVersionsSymbols
-
from go1.16.0-0 before go1.16.1all symbols
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.