GO-2022-0526

Stack exhaustion when decoding certain messages in encoding/gob

At a glance

Published
Updated
CVE
CVE-2022-30635
Aliases
BIT-golang-2022-30635

Description

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database