GO-2021-0242

Panic on inputs with large exponents in math/big

At a glance

Published
Updated
CVE
CVE-2021-33198
Aliases
BIT-golang-2021-33198

Description

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

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.15.13, introduced 1.16.0-0, fixed 1.16.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database