7.5High

CVE-2022-30631Stack exhaustion when reading certain archives in compress/gzip

Go standard library compress/gzip Published: (4 years ago)

Description

Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library compress/gzip < 1.17.12, 1.18.0-0 – < 1.18.4

References and patches