CVE-2021-41772
golang: archive/zip: Reader.Open panics on empty string
Overview
Description
Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.
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 · 32 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.17.7-1.module+el8.6.0+20559+3b94dc2a |
| 8 | delve | 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a |
Photon OS 1 release · 2 packages
fixed 2
go
kubernetes-dashboard
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.17.2-1.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
Red Hat 4 releases · 11 packages
wont fix 1
eol 1
fixed 12
affected 1
golang
go-toolset-1-16
cri-o
openshift-clients
openshift-hyperkube
servicemesh
+5
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| golang +6 | wont fix | — | |
| 7 | golang +4 | eol | — |
| 7 | go-toolset-1-16 +10 | 0:1.16.12-1.el7_9 | RHSA-2021:5176 |
| 7 | cri-o | 0:1.23.0-92.rhaos4.10.gitdaab4d1.el7 | RHSA-2022:0055 |
| 7 | openshift-clients +1 | 0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 | RHSA-2022:0055 |
| 7 | openshift-hyperkube | 0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 | RHSA-2022:0055 |
9 more rows
alma 1 release · 2 packages
fixed 2
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.17.7-1.module_el8.6.0+2736+ec10aba8 |
| 8 (go-toolset:rhel8) | delve | 1.7.2-1.module_el8.6.0+2736+ec10aba8 |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.17.3-r0 |
| 3.23 | go | 1.17.3-r0 |
| 3.24 | go | 1.17.3-r0 |
| edge | go | 1.17.3-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
openSUSE 1 release · 2 packages
fixed 2
go1-16
go1-17
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-16 +2 | 1.16.10-1.1 | openSUSE-SU-2024:11609-1 |
| Tumbleweed | go1-17 +2 | 1.17.3-1.1 | openSUSE-SU-2024:11610-1 |
rocky 2 releases · 2 packages
fixed 3
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.17.7-1.module+el8.6.0+824+8e984c20 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.17.7-1.module+el8.6.0+824+8e984c20 |
| 8 (go-toolset:rhel8) | delve | 1.7.2-1.module+el8.6.0+824+8e984c20 |
References
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38297.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-39293.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41771.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41772.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23772.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23773.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23806.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-41772
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-1819.html
Show all 24 references
- go.dev https://go.dev/cl/349770
- go.dev https://go.dev/issue/48085
- go.googlesource.com https://go.googlesource.com/go/+/b24687394b55a93449e2be4e6892ead58ea9a10f
- groups.google.com https://groups.google.com/g/golang-announce/c/0fM21h43arc
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-41772.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-1819.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-41772
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0264
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20211210-0003/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-41772
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
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.