CVE-2021-33196
golang: archive/zip: malformed archive may cause panic or memory exhaustion
Overview
Description
In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-20
Affected packages · 2
Operating systems · 35 fixes
Azure Linux 1 release · 1 package
fixed 1
python-tensorboard
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-tensorboard | 0:2.16.2-2.azl3 |
Oracle Linux 1 release · 2 packages
fixed 2
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.15.14-1.module+el8.4.0+20290+7af514f4 |
| 8 | delve | 1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 |
Red Hat 4 releases · 14 packages
wont fix 1
affected 2
eol 1
fixed 15
golang
atomic-openshift
buildah
go-toolset-1-15
cri-o
openshift-clients
+8
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| golang +6 | wont fix | — | |
| 7 | atomic-openshift +12 | affected | — |
| 7 | buildah +8 | eol | — |
| 7 | go-toolset-1-15 +10 | 0:1.15.13-1.el7_9 | RHSA-2021:2634 |
| 7 | cri-o | 0:1.21.2-8.rhaos4.8.git8d4264e.el7 | RHSA-2021:2984 |
| 7 | openshift-clients +1 | 0:4.8.0-202107292313.p0.git.1077b05.assembly.stream.el7 | RHSA-2021:2984 |
13 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.16.5-r0 |
| 3.23 | go | 1.16.5-r0 |
| 3.24 | go | 1.16.5-r0 |
| edge | go | 1.16.5-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
debian 3 releases · 4 packages
fixed 4
golang-1-11
golang-1-15
golang-1-7
golang-1-8
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | 1.11.6-1+deb10u6 |
| 11 | golang-1-15 | 1.15.9-4 |
| 9 | golang-1-7 | 1.7.4-2+deb9u4 |
| 9 | golang-1-8 | 1.8.1-1+deb9u4 |
openSUSE 1 release · 2 packages
fixed 2
go1-15
go1-16
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-15 +2 | 1.15.15-1.2 | openSUSE-SU-2024:10808-1 |
| Tumbleweed | go1-16 +2 | 1.16.8-1.1 | openSUSE-SU-2024:10809-1 |
rocky 1 release · 2 packages
fixed 2
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.15.14-1.module+el8.4.0+632+4dba2916 |
| 8 (go-toolset:rhel8) | delve | 1.5.0-2.module+el8.4.0+396+d2d16ae3 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:3076
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-33196
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1937901
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958341
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1965503
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1978567
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1983596
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27918
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31525
Show all 27 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33196
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34558
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:3076
- go.dev https://go.dev/cl/318909
- go.dev https://go.dev/issue/46242
- go.googlesource.com https://go.googlesource.com/go/+/74242baa4136c7a9132a8ccd9881354442788c8c
- groups.google.com https://groups.google.com/g/golang-announce
- groups.google.com https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-33196.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-3076.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-33196
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0240
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-33196
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.