CVE-2021-33198
No exploitation reported by the sources we read.
- Published2021-08-02
- Fixed in1.16.5 · 1.15.13
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2021-08-0219:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.16 | ≥ 1.16.0, < 1.16.5 | 1.16.5 | NVD · OSV |
| 1.16 | ≥ 1.16.0-0, < 1.16.5 | 1.16.5 | OSV |
| 1.15 | < 1.15.13 | 1.15.13 | NVD · OSV |
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
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
Red Hat Security Advisory: container-tools:rhel8 security update
Red Hat Security Advisory: container-tools:rhel8 security update
Red Hat Security Advisory: container-tools:3.0 security update
Red Hat Security Advisory: buildah security and bug fix update
Red Hat Security Advisory: skopeo security and bug fix update
24 more advisories
Fix
- Update Go to 1.16.5 · 1.15.13
- 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
- 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
- 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
- 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
- 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…
- 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
- groups.google.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- FIRST EPSSEPSS score3.4 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-golang-2021-33198same flawBitnami · Apache-2.0
- EUVD-2021-19911same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-q2pw-fq43-w78vsame flawGitHub Advisory Database · CC-BY-4.0
- GO-2021-0242same flawGo Vulnerability Database · CC-BY-4.0
- ALSA-2021:4156advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:7955advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:8008advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:10289advisory covering several CVEsAlmaLinux · MIT
- MGASA-2021-0369advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1402advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:0950-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2186-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2214-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10808-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10809-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHBA-2021:2979advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2984advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3009advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3248advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3487advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3555advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3820advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4156advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:5072advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:5085advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1329advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1402advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:7955advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8008advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:10289advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:2586advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:2988advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:4156advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:10289advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:2988advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:2186-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2214-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2021-33198 actively exploited?
What is the CVSS score for CVE-2021-33198?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-q2pw-fq43-w78v
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0