CVE-2021-27919
golang: archive/zip: panic when calling Reader.Open
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected packages · 2
Operating systems · 6 fixes
Red Hat 1 release · 1 package
eol 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 7 | golang +3 | eol |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.16.2-r0 |
| 3.23 | go | 1.16.2-r0 |
| 3.24 | go | 1.16.2-r0 |
| edge | go | 1.16.2-r0 |
openSUSE 1 release · 1 package
fixed 1
go1-16
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-16 +2 | 1.16.8-1.1 | openSUSE-SU-2024:10809-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-27919
- go.dev https://go.dev/cl/300489
- go.dev https://go.dev/issue/44916
- go.googlesource.com https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8
- groups.google.com https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw
- groups.google.com https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MU47VKTNXX33ZDLTI2ORRUY3KLJKU6G/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HM7U5JNS5WU66Q3S26PFIU2ITB2ATTQ4/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-27919
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0067
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.