GO-2022-0524

Stack exhaustion when reading certain archives in compress/gzip

At a glance

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

Description

Calling Reader.Read on an archive containing a large number of concatenated 0-length compressed files 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