CVEfocus › CVE database › CVE-2021-39293

CVE-2021-39293

EPSS 7.4% (higher than 95% of CVEs)Published 2022-01-24Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
3Fix pending
6Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04golang-1.17Not affected
vulnerable_code_not_present
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2021-39293
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2021-39293
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2021-39293
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8delveFixed0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2022:1819
Red Hat Enterprise Linux 8go-toolsetFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golangFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-binFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-docsFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-miscFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-raceFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-srcFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 8golang-testsFixed0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hat Enterprise Linux 7buildahNot affected
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
AlmaLinux 8delveFixed1.7.2-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8go-toolsetFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golangFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-binFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-docsFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-miscFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-raceFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-srcFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux 8golang-testsFixed1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
Rocky Linux 8delveFixed0:1.7.2-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Rocky Linux 8go-toolsetFixed0:1.17.7-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Rocky Linux 8golangFixed0:1.17.7-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Alpine Linux 3.24goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.23goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.22goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.21goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.20goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.19goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.18goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.17goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.16goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.15goFixed1.17.1-r0ALPINE-CVE-2021-39293
Alpine Linux 3.14goFixed1.16.8-r0ALPINE-CVE-2021-39293
Go librarystdlibFixed1.17.1GO-2022-0273

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.