ADVISORIES

Go Vulnerability Database

GO-2022-0524

Stack exhaustion when reading certain archives in compress/gzip

Details

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

EcosystemPackageAffected versions
Gostdlib
All versions before 1.17.12 (fixed in 1.17.12)
From 1.18.0-0 before 1.18.4 (fixed in 1.18.4)

References