CVE-2022-30631
No exploitation reported by the sources we read.
- Published2022-08-10
- Fixed in1.18.4 · 1.17.12
- WeaknessCWE-674
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-08-1020:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 18:48 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-30631?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-30631?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.18 | ≥ 1.18.0, < 1.18.4 | 1.18.4 | NVD |
| 1.17 | < 1.17.12 | 1.17.12 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
golang: compress/gzip: stack exhaustion in Reader.Read
migration-toolkit-virtualization/mtv-controller-rhel9 as a component of Migration Toolkit for Virtualization · migration-toolkit-virtualization/mtv-must-gather-api-rhel8 as a component of Migration Toolkit for Virtualization · workload-availability/node-healthcheck-rhel8-operator as a component of Node HealthCheck Operator · +88 more
Red Hat Security Advisory: runc security update
Red Hat Security Advisory: Red Hat Ceph Storage 6.1 Container security and bug fix update
Red Hat Security Advisory: container-tools:4.0 security and bug fix update
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
Red Hat Security Advisory: Service Telemetry Framework 1.5 security update
48 more advisories
Fix
- Update Go to 1.18.4 · 1.17.12
- Vendor fix Red Hat Product Security RHSA-2024:2180 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:3642 · 3 productsFor details on how to apply this update, see Upgrade a Red Hat Ceph Storage cluster using cephadm in the Red Hat Storage Ceph Upgrade Guide.(https://access.redhat.com/documentation/en-us/red_hat_ceph_storage)
- Vendor fix Red Hat Product Security RHSA-2023:1529 · 1 productThe Service Telemetry Framework container image provided by this update can be downloaded from the Red Hat Container Registry at registry.access.redhat.com. Installation instructions for your platform are available at Red Hat Container Catalog (see References). Dockerfiles and scripts should be am…
- Vendor fix Red Hat Product Security RHSA-2023:1042 · 2 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:0727 · 296 productsFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.12/release_notes/ocp-4-1…
- Vendor fix Red Hat Product Security RHSA-2023:0408 · 1 productBefore applying this update, you must apply all previously released errata relevant to your system. To apply this update, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- go.devPatch · Vendor Advisory
- go.devVendor Advisory
- go.googlesource.comPatch · Vendor Advisory
- groups.google.comVendor Advisory
- pkg.go.devVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-08-10
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2022-30631?
Is CVE-2022-30631 actively exploited?
What is the CVSS score for CVE-2022-30631?
Running Go? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.