CVE-2021-33198
JSON

7.5high

Panic on inputs with large exponents in math/big

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.37% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GO-2021-0242BIT-GOLANG-2021-33198

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
stdlib (Go)before 1.15.13, from 1.16.0-0 before 1.16.5Go Vulnerability Database
golang gobefore 1.15.13, from 1.16.0 before 1.16.5NVD
golang (Bitnami)before 1.15.13, from 1.16.0 before 1.16.5Bitnami Vulnerability Database

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh rating

What each source says

CVE List

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.

Go Vulnerability Database

Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.

NVD (es)

En Go versiones anteriores a 1.15.13 y versiones 1.16.x anteriores a 1.16.5, puede haber un pánico por un exponente grande al método math/big.Rat SetString o UnmarshalText.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-33198 changed 2024-08-03CVE Terms of Use
Go Vulnerability DatabaseGO-2021-0242 changed 2024-05-20CC-BY-4.0
NVDCVE-2021-33198 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2021-33198 changed 2026-09-08Apache-2.0