ADVISORIES

Go Vulnerability Database

GO-2022-0537

Panic when decoding Float and Rat types in math/big

Details

Decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.17.13 (fixed in 1.17.13)
From 1.18.0-0 before 1.18.5 (fixed in 1.18.5)

References