Live threats

All CVEs / Golang

CVE-2021-33196Golang Go

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Aug 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.15.13 1.15.13 go get stdlib@v1.15.13
Go stdlib ≥ 1.16.0-0 < 1.16.5 1.16.5 go get stdlib@v1.16.5

Per OSV / GitHub Advisories (GO-2021-0240). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.15.13
golanggo≥ 1.16.0 < 1.16.5
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.