GO-2024-3106

See a problem?
Source
https://pkg.go.dev/vuln/GO-2024-3106
Import Source
https://vuln.go.dev/ID/GO-2024-3106.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-3106
Aliases
Related
Published
2024-09-06T19:15:23Z
Modified
2024-09-10T08:12:21.917879Z
Summary
Stack exhaustion in Decoder.Decode in encoding/gob
Details

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

References
Credits
    • Md Sakib Anwar of The Ohio State University (anwar.40@osu.edu)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.7
Introduced
1.23.0-0
Fixed
1.23.1

Ecosystem specific

{
    "imports": [
        {
            "path": "encoding/gob",
            "symbols": [
                "Decoder.Decode",
                "Decoder.DecodeValue",
                "Decoder.decIgnoreOpFor"
            ]
        }
    ]
}