CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8) in golang go. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.11, 1.18.3.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hstdlib (Go): fixed in 1.17.11, 1.18.3Explain CVE-2022-30580 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30580?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30580?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-30580 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 os/exec | before 1.17.11 |
| Go standard library os/exec | from 1.18.0-0 before 1.18.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2022-0532 | Go | stdlib | <1.17.11 >=1.18.0-0 <1.18.3 | 1.17.11, 1.18.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| openSUSE | Leap 15.3, Leap 15.4 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| openSUSE | Leap 15.3, Leap 15.4 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| openSUSE | Leap 15.4, Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE | Tumbleweed | go1.17 | 1.17.11-1.1 | openSUSE-SU-2024:12123-1 |
| openSUSE | Tumbleweed | go1.18 | 1.18.3-1.1 | openSUSE-SU-2024:12124-1 |
| Alpine | v3.16 | go | 1.18.4-r0 | ALPINE-CVE-2022-30580 |
| Azure Linux | 2 | golang | 1.18.5-1 | AZL-10532 |
| Azure Linux | 3 | golang | no fix listed | AZL-79108 AZL-98856 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The CVE-2022-30580 affects windows only, where empty Cmd.Path can result in running unintended binary on Windows.
Packages shipped with Red Hat Enterprise Linux - 8 and 9 are unaffected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel9 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-velero-plugin-rhel8 | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-controller-rhel9 | Not affected | |
| mirror registry for Red Hat OpenShift | mirror-registry-container | Not affected | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel8-operator | Not affected | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Not affected | |
| OpenShift API for Data Protection | oadp/oadp-velero-rhel9 | Not affected | |
| OpenShift Developer Tools and Services | helm | Not affected | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Not affected | |
| OpenShift Developer Tools and Services | odo | Not affected | |
| OpenShift Pipelines | openshift-pipelines-client | Not affected | |
| OpenShift Secondary Scheduler Operator | openshift-secondary-scheduler-operator/secondary-scheduler-rhel9-operator | Not affected | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Not affected | |
| OpenShift Serverless | openshift-serverless-clients | Not affected | |
| OpenShift Service Mesh 2 | openshift-golang-builder-container | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-operator-container | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/subctl-rhel9 | Not affected | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | openshift-clients | Not affected | |
| 85 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-30580.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.