5.5medium
Panic when opening archives in archive/zip
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.52% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GO-2021-0067BIT-GOLANG-2021-27919
Description
archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| stdlib (Go) | from 1.16.0-0 before 1.16.1 | Go Vulnerability Database |
| golang go | from 1.16.0 before 1.16.1 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| golang (Bitnami) | from 1.16.0 before 1.16.1 | Bitnami Vulnerability Database |
All scores
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
What each source says
CVE List
archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.
Go Vulnerability Database
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.
NVD (es)
archive/zip en Go versiones 1.16.x anteriores a 1.16.1, permite a atacantes causar una denegación de servicio (pánico) al intentar usar la API Reader.Open para un archivo ZIP en el que ../ aparece al principio de cualquier nombre de archivo
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27919 changed 2024-08-03 | CVE Terms of Use |
| Go Vulnerability Database | GO-2021-0067 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2021-27919 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2021-27919 changed 2026-09-08 | Apache-2.0 |