GO-2021-0242

Source
https://pkg.go.dev/vuln/GO-2021-0242
Import Source
https://vuln.go.dev/ID/GO-2021-0242.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0242
Aliases
Published
2022-02-17T17:33:07Z
Modified
2024-05-20T16:03:47Z
Summary
Panic on inputs with large exponents in math/big
Details

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

References
Credits
    • The OSS-Fuzz project (discovery)
    • Emmanuel Odeke (reporter)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15.13
Introduced
1.16.0-0
Fixed
1.16.5

Ecosystem specific

{
    "imports": [
        {
            "path": "math/big",
            "symbols": [
                "Rat.SetString"
            ]
        }
    ]
}