CVE-2022-30631
Stack exhaustion when reading certain archives in compress/gzip
CVE-2022-30631 affects Go standard library compress/gzip (CVSS 7.5, High).
No known exploitation. EPSS puts it in the 76th percentile. Fixed versions are out.
No public exploit knownFix5 products2 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.127537
What to do
Find your product and version, then upgrade to the build on the right.
- Go standard library compress/gzipAffected: < 1.17.12Upgrade to: 1.17.12Affected: ≥ 1.18.0-0, < 1.18.4Upgrade to: 1.18.4Stated by: CVE record
- Golang GoAffected: < 1.17.12Upgrade to: 1.17.12Stated by: NVD
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
- Open-source community Debian GNU/LinuxAffected: 10Upgrade to: not statedStated by: BDU
- Red Hat Inc. OpenShift Container PlatformAffected: 4Upgrade to: not statedStated by: BDU
Versions as the sources state them. 6 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
1.6% chance of exploitation activity in the next 30 days, which ranks it in the 76th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1416 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- Red Hat Enterprise LinuxOperating Systems / linux-distro
- OpenShift Container PlatformOperating Systems / linux-distro
- Red Hat OpenStack PlatformOperating Systems / linux-distro
- Red Hat Web TerminalOperating Systems / linux-distro
- Self Node RemediationOperating Systems / linux-distro
- Node Maintenance OperatorOperating Systems / linux-distro
- Service Telemetry FrameworkOperating Systems / linux-distro
- Application InterconnectOperating Systems / linux-distro
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
And 8 more references. See all after sign-in
Questions about CVE-2022-30631
- Is CVE-2022-30631 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 1.6%.
- Which versions are affected by CVE-2022-30631?
- Compress/gzip: < 1.17.12; ≥ 1.18.0-0, < 1.18.4. Go: < 1.17.12. Red Hat Enterprise Linux: 8. 8 more products are listed in the record.
- How do I fix or mitigate CVE-2022-30631?
- Upgrade to a fixed build for your product branch: 1.17.12, 1.18.4. The advisory is on access.redhat.com.
Last updated
Related articles
All articles- NatJack: The Same NAT Flaw Got Windows and Linux Patched — Cisco and Apple Call It a Feature
- Keystone Said Private Keys Were Never Touched. They Didn't Mention the Other Key — the One That Proves the Wallet Isn't Fake.
- Microsoft Says an Azure Attack Was "Agentic-Driven." Its Own Evidence Says "Scripted."
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Compress/gzip, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI