VDB

CVE-2021-33198

CVE-2021-33198 PUBLISHED

Reported by mitre · Published August 2, 2021

stdlib is fixed in 1.16.5 and 1.15.13 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
stdlibGo Modules1.16.5, 1.15.13
golang-docsAmazon Linux1.16.15-1.amzn2.0.1
golangBitnami1.16.5, 1.15.13
golang-testsAmazon Linux1.16.15-1.amzn2.0.1
golang-binAmazon Linux1.16.15-1.amzn2.0.1
goArch Linux2:1.16.5-1
golang-raceAmazon Linux1.16.15-1.amzn2.0.1
golang-srcAmazon Linux1.16.15-1.amzn2.0.1
golang-miscAmazon Linux1.16.15-1.amzn2.0.1
golangAmazon Linux1.16.15-1.amzn2.0.1
goAlpine1.16.5-r0, 1.15.13-r0
golang-sharedAmazon Linux1.16.15-1.amzn2.0.1

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/an/an/a
amazon:2golang-docs0
amazon:2golang-tests0
amazon:2golang-bin0
archgo0
amazon:2golang-race0
amazon:2golang-src0
amazon:2golang-misc0
amazon:2golang0
alpinego0, 0
amazon:2golang-shared0
n/an/a*

Timeline

  • Jun 28, 2021 CVE Published
  • Aug 3, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (58 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated
  • Nov 14, 2026 Distribution Patch (52 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-33198
vulnetix vdb fixes CVE-2021-33198

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33198/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • GLSA-202208-02 vendor-advisoryx_refsource_GENTOO
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›