Skip to main content
No exploitation reportedFix available

CVE-2021-33198

No exploitation reported by the sources we read.

  • Published2021-08-02
  • Fixed in1.16.5 · 1.15.13

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2021-08-0219:15CVE publishedNVD

Versions per branch

NVD · OSV
Go
BranchAffectedFixed in
1.16≥ 1.16.0, < 1.16.51.16.5
1.16≥ 1.16.0-0, < 1.16.51.16.5
1.15< 1.15.131.15.13

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.0-1.module+el8.10.0+1815+5fe7415e
  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.0-1.module+el8.10.0+1825+623b0c20
  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.0-1.module+el8.10.0+1843+6892ab28
  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.0-1.module+el8.10.0+1872+2e18eb19
  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.1-2.module+el8.10.0+1874+ce489889
  • aardvark-dnsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:1.10.1-2.module+el8.10.0+22417+2fb00970
  • aardvark-dnsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:1.10.0-1.module+el8.10.0+21209+52deeb51
  • aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7

310 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-33198 Red Hat Product Security1,538 products fixed · 109 known affected

    golang: math/big.Rat: may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents

    knative-eventing as a component of OpenShift Serverless · servicemesh as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana as a component of OpenShift Service Mesh 2.0 · +106 more

  • RHSA-2024:10289 Red Hat Product Security261 products fixed

    Red Hat Security Advisory: container-tools:rhel8 security update

  • RHSA-2024:2988 Red Hat Product Security261 products fixed

    Red Hat Security Advisory: container-tools:rhel8 security update

  • RHSA-2024:2586 Red Hat Product Security263 products fixed

    Red Hat Security Advisory: container-tools:3.0 security update

  • RHSA-2022:8008 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: buildah security and bug fix update

  • RHSA-2022:7955 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: skopeo security and bug fix update

24 more advisories

Full record on NVD

Fix

  1. Update Go to 1.16.5 · 1.15.13
  2. Vendor fix Red Hat Product Security RHSA-2024:10289 · 261 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2024:2586 · 263 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2022:0577 · 2 productsFor Windows Machine Config Operator upgrades, see the following documentation: https://docs.openshift.com/container-platform/latest/windows_containers/windows-node-upgrades.html
  5. Vendor fix Red Hat Product Security RHSA-2021:5072 · 7 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2021:3820 · 7 productsFor OpenShift Container Platform 4.8 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.8/release_notes/ocp-4-8-r…
  7. Vendor fix Red Hat Product Security RHSA-2021:3759 · 4 productsFor OpenShift Container Platform 4.9 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-r…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-08-02
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-q2pw-fq43-w78v

Frequently asked questions

What is CVE-2021-33198?

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.

Is CVE-2021-33198 actively exploited?

Active exploitation of CVE-2021-33198 has not been confirmed. Its EPSS score was 3.4% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-33198?

CVE-2021-33198 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Go? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record