Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-30580

published high CVSS 3.1 · 7.8

Empty Cmd.Path can trigger unintended binary in os/exec on Windows

Published
09 Aug 2022, 20:18:04 UTC
Updated
06 Mar 2026, 17:34:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Go standard library — os/exec0 to < 1.17.11 · 1.18.0-0 to < 1.18.3 · Other versions: unaffected · Platforms: windows Affected Not stated Go
Amazon Linux AL2 Release evaluationALAS2-2023-2015 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2GOLANG1.19-2023-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-175 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.16 go Fixed 1.18.4-r0 Package fix record
Oracle Linux 8 delveaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.7.2-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
SUSE / openSUSE SLE-15-SP3 go1.17aarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
Oracle Linux 8 delveaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.8.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 delvex86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.7.2-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 delvex86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.8.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 go-toolsetaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 go-toolsetaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 go-toolsetx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 go-toolsetx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golangaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golangaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golangx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golangx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-binaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-binaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-binx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-binx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-docsaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-docsaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-docsx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-docsx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-miscaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-miscaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-miscx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-miscx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-racex86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-racex86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-srcaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-srcaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-srcx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-srcx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-testsaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-testsaarch64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
Oracle Linux 8 golang-testsx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957
Oracle Linux 8 golang-testsx86_64 · go-toolset · ol8addon is enabled Advisory build 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad ELSA-2022-17956
SUSE / openSUSE SLE-15-SP3 go1.17ppc64le Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17s390x Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17x86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-docaarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-docppc64le Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-docs390x Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-docx86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-raceaarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.17-racex86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP3 go1.18aarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18ppc64le Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18s390x Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18x86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-docaarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-docppc64le Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-docs390x Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-docx86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-opensslaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-opensslppc64le Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssls390x Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-opensslx86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-docaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-docppc64le Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-docs390x Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-docx86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-raceaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-openssl-racex86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP3 go1.18-raceaarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP3 go1.18-racex86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.17aarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17ppc64le Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17s390x Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17x86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-docaarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-docppc64le Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-docs390x Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-docx86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-raceaarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.17-racex86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE SLE-15-SP4 go1.18aarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18ppc64le Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18s390x Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18x86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-docaarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-docppc64le Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-docs390x Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-docx86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-opensslaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-opensslppc64le Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssls390x Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-opensslx86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-docaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-docppc64le Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-docs390x Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-docx86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-raceaarch64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-openssl-racex86_64 Advisory build 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE / openSUSE SLE-15-SP4 go1.18-raceaarch64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE SLE-15-SP4 go1.18-racex86_64 Advisory build 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SUSE / openSUSE openSUSE-Leap-15.3 go1.17aarch64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE openSUSE-Leap-15.3 go1.17i586 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE openSUSE-Leap-15.3 go1.17ppc64le Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE openSUSE-Leap-15.3 go1.17s390x Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SUSE / openSUSE openSUSE-Leap-15.3 go1.17x86_64 Advisory build 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Go standard library os/exec 0 to < 1.17.11 (affected · semver)1.18.0-0 to < 1.18.3 (affected · semver)Default: unaffected Go · cna

Weaknesses

2
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (Go · cna)
  • CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection') (CISA-ADP · adp)

References

5

Provider assertions

3

Go · cna

Empty Cmd.Path can trigger unintended binary in os/exec on Windows

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
42235cd31286af0dec12ffc906755281e362d5e65903d5c8182152c0d462fbe6
Ingested
23 Sep 2026, 08:00:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected