CVE Tools

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.

Check it yourself

OpenVAS · 93 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.127537

Run the check

Published Updated Sources: CVE.org, NVD, BDU

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.

EPSS76th
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.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS: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

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

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.