CVE-2022-30631

7.5 HIGH
Published: August 10, 2022 Modified: October 20, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://go.dev/cl/417067
Source: security@golang.org
Patch Vendor Advisory
https://go.dev/issue/53168
Source: security@golang.org
Issue Tracking Vendor Advisory
https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e
Source: security@golang.org
Mailing List Patch Vendor Advisory
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Source: security@golang.org
Mailing List Vendor Advisory
https://pkg.go.dev/vuln/GO-2022-0524
Source: security@golang.org
Vendor Advisory
https://go.dev/cl/417067
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
https://go.dev/issue/53168
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Vendor Advisory
https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Patch Vendor Advisory
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Vendor Advisory
https://pkg.go.dev/vuln/GO-2022-0524
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

10 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.0%
12th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

golang