CVE-2022-30580

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.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 44%
Affected Products (NVD)
VendorProductVersion
golanggo
𝑥
< 1.17.11
golanggo
1.18.0 ≤
𝑥
< 1.18.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bullseye
1.15.15-1~deb11u4
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-1.15
impish
not-affected
golang-1.17
impish
not-affected
jammy
not-affected
kinetic
dne
lunar
dne
golang-1.18
bionic
not-affected
focal
not-affected
jammy
not-affected
kinetic
dne
lunar
dne
golang-1.8
bionic
not-affected
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
golang
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-bin
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-docs
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-misc
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-race
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-shared
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-src
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
golang-tests
Amazon Linux 1
0:1.18.6-1.43.amzn1
fixed
Amazon Linux 2
0:1.18.9-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
golang
CBL-Mariner 1.0
0:1.18.5-1.cm1
fixed
CBL-Mariner 2.0
0:1.18.5-1.cm2
fixed