GO-2022-0537

Source
https://pkg.go.dev/vuln/GO-2022-0537
Import Source
https://vuln.go.dev/ID/GO-2022-0537.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0537
Aliases
Published
2022-08-01T22:21:06Z
Modified
2024-05-20T16:03:47Z
Summary
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0537"
}
References
Credits
    • @catenacyber

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.13
Introduced
1.18.0-0
Fixed
1.18.5

Ecosystem specific

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