VDB
Sign up
HIGH7.5

GO-2021-0242

Panic on inputs with large exponents in math/big

Quick fix

GO-2021-0242 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.15.13

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.15.13
Fixgo get stdlib@v1.15.13

References