CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in golang go. EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.12, 1.18.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hstdlib (Go): fixed in 1.17.12, 1.18.4Explain CVE-2022-30631 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30631?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30631?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-30631 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library compress/gzip | before 1.17.12 |
| Go standard library compress/gzip | from 1.18.0-0 before 1.18.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2022-0524 | Go | stdlib | <1.17.12 >=1.18.0-0 <1.18.4 | 1.17.12, 1.18.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | 1.19~rc2-1 | DEBIAN-CVE-2022-30631 |
| Ubuntu | 18.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~18.04.4 | UBUNTU-CVE-2022-30631 USN-6038-1 |
| Ubuntu | 20.04:LTS | golang-1.13 | 1.13.8-1ubuntu1.2 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.16 | 1.16.2-0ubuntu1~20.04.1 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Ubuntu | 20.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.2 | UBUNTU-CVE-2022-30631 USN-6038-1 |
| Ubuntu | 22.04:LTS | golang-1.13 | 1.13.8-1ubuntu2.22.04.2 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Ubuntu | 22.04:LTS | golang-1.18 | 1.18.1-1ubuntu1.1 | UBUNTU-CVE-2022-30631 USN-6038-1 |
| Ubuntu | Pro:16.04:LTS | golang-1.13 | 1.13.8-1ubuntu1~16.04.3+esm3 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Ubuntu | Pro:18.04:LTS | golang-1.13 | 1.13.8-1ubuntu1~18.04.4+esm1 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Ubuntu | Pro:18.04:LTS | golang-1.16 | 1.16.2-0ubuntu1~18.04.2+esm1 | UBUNTU-CVE-2022-30631 USN-6038-2 |
| Red Hat | application_interconnect:1::el8 | skupper-cli | 0:1.0.2-2.el8 | RHSA-2022:6113 |
| Red Hat | container_native_virtualization:4.12::el7 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el7 | RHSA-2023:0407 |
| Red Hat | container_native_virtualization:4.12::el8 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el8 | RHSA-2023:0407 |
| Red Hat | devtools:2022 | go-toolset-1.17, go-toolset-1.17-build, go-toolset-1.17-golang and 8 more | 0:1.17.12-1.el7_9 | RHSA-2022:5866 |
| Red Hat | enterprise_linux:8::appstream | aardvark-dns | 2:1.5.0-2.module+el8.8.0+18060+3f21f2cc | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.19.9-6.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.24.6-5.module+el8.8.0+18083+cd85596b | RHSA-2023:2802 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.29.1-1.module+el8.8.0+18195+471da4bb | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:29-2.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:46-1.module+el8.8.0+17821+de1b53f1 | RHSA-2023:2802 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:63.1-1.module+el8.8.0+18286+cd236dce | RHSA-2023:2758 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.26-3.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
| 278 more for Red Hat in the JSON and on Red Hat's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
To exploit CVE-2022-30631, an attacker supplies a specially crafted gzip archive to a Go application that uses a vulnerable version of the compress/gzip package without adequate input validation. This can lead to uncontrolled recursion, resulting in stack exhaustion and causing the application to panic, thereby affecting its availability.
As this is merely a DoS and there is no known way to control the instruction pointer, RH ProdSec has set the impact of this vulnerabilty to "Moderate".
| Product | Package | State | Advisory |
|---|---|---|---|
| Application Interconnect 1 for RHEL 8 | skupper-cli-0:1.0.2-2.el8 | Fixed 2022-08-18 | RHSA-2022:6113 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/cluster-logging-rhel8-operator:v5.4.5-12 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-267 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/elasticsearch-rhel8-operator:v5.4.5-9 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/eventrouter-rhel8:v0.4.0-26 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/log-file-metric-exporter-rhel8:v1.1.0-48 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/logging-loki-rhel8:v2.5.0-42 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/lokistack-gateway-rhel8:v5.4.5-11 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/opa-openshift-rhel8:v5.4.5-4 | Fixed 2022-09-06 | RHSA-2022:6183 |
| Node Healthcheck Operator 0.3 for RHEL 8 | workload-availability/node-healthcheck-rhel8-operator:v0.3.1-1 | Fixed 2022-08-25 | RHSA-2022:6187 |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-controller-rhel9 | Affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-api-rhel8 | Affected | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel8-operator | Affected | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Affected | |
| OpenShift API for Data Protection | oadp/oadp-registry-rhel8 | Affected | |
| OpenShift Developer Tools and Services | helm | Will not fix | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Not affected | |
| OpenShift Developer Tools and Services | odo | Affected | |
| OpenShift Pipelines | openshift-pipelines-client | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/3scale-rhel7-operator | Will not fix | |
| 532 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-30631.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.