Live threats

All CVEs / Golang

CVE-2021-33198Golang Go

High 7.5 No auth needed

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

What happens

In Go before 1.15.13 and 1.16.x before 1.16.5, there can be a panic for a large exponent to the math/big.Rat SetString or UnmarshalText method.

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-0242). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.15.13
golanggo≥ 1.16.0 < 1.16.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.