Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-39293

golang: archive/zip: malformed archive may cause panic or memory exhaustion (incomplete fix of CVE-2021-33196)

Overview

Published
24 Jan 2022
Modified
17 Jun 2026
High CVE
2 Registry packages
54 OS packages
8 Linux distributions
Yes Fix available

Description

In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive header (falsely designating that many files are present) can cause a NewReader or OpenReader panic. NOTE: this issue exists because of an incomplete fix for CVE-2021-33196.

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-770

Affected packages · 2

Packages affected by CVE-2021-39293
EcosystemPackageVulnerableFixed in
Bitnami golang <1.16.8>=1.17.0, <1.17.1 1.16.81.17.1
Go stdlib <1.16.8>=1.17.0-0, <1.17.1 1.16.81.17.1

Open a package to see all its vulnerabilities.

Operating systems · 27 fixes

Oracle Linux 1 release · 2 packages

fixed 2
go-toolset delve
Oracle Linux fixes for CVE-2021-39293
ReleasePackageFixed 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 · 1 package

fixed 1
kubernetes-dashboard
Photon OS fixes for CVE-2021-39293
ReleasePackageFixed in
4.0 kubernetes-dashboard 2.7.0-1.ph4

Red Hat 5 releases · 6 packages

wont fix 1 affected 4 eol 2 fixed 2
golang openshift atomic-openshift servicemesh go-toolset delve
Red Hat fixes for CVE-2021-39293
ReleasePackageFixed in
golang +6 wont fix
7 openshift +1 affected
7 atomic-openshift +12 eol
7 golang +7 eol
8 openshift +3 affected
8 servicemesh +9 affected

3 more rows

alma 1 release · 2 packages

fixed 2
go-toolset delve
alma fixes for CVE-2021-39293
ReleasePackageFixed 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
alpine fixes for CVE-2021-39293
ReleasePackageFixed in
3.22 go 1.17.1-r0
3.23 go 1.17.1-r0
3.24 go 1.17.1-r0
edge go 1.17.1-r0

debian 3 releases · 4 packages

fixed 4
golang-1-11 golang-1-15 golang-1-7 golang-1-8
debian fixes for CVE-2021-39293
ReleasePackageFixed in
10 golang-1-11 1.11.6-1+deb10u6
11 golang-1-15 1.15.15-1~deb11u1
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-16 go1-17
openSUSE fixes for CVE-2021-39293
ReleasePackageFixed inAdvisory
Tumbleweed go1-16 +2 1.16.8-1.1 openSUSE-SU-2024:10809-1
Tumbleweed go1-17 +2 1.17.1-1.1 openSUSE-SU-2024:10810-1

rocky 2 releases · 2 packages

fixed 3
go-toolset delve
rocky fixes for CVE-2021-39293
ReleasePackageFixed 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

Show all 21 references

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.