CVE-2023-24531

Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GoCNA
---
---
CVEADP
---
---
CISA-ADPADP
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 70%
VendorProductVersion
gotoolchaincmd\/go
𝑥
< 1.21.0-0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bullseye
vulnerable
bookworm
no-dsa
golang-1.19
bookworm
vulnerable
bullseye
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
golang-1.10
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
bionic
needs-triage
xenial
needs-triage
trusty
ignored
golang-1.13
oracular
dne
noble
dne
mantic
dne
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
golang-1.14
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
needs-triage
golang-1.16
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
needs-triage
bionic
needs-triage
golang-1.17
oracular
dne
noble
dne
mantic
dne
jammy
Fixed 1.17.13-3ubuntu1.2
released
focal
dne
golang-1.18
oracular
dne
noble
dne
mantic
dne
jammy
Fixed 1.18.1-1ubuntu1.2
released
focal
Fixed 1.18.1-1ubuntu1~20.04.3
released
bionic
Fixed 1.18.1-1ubuntu1~18.04.4+esm1
released
xenial
Fixed 1.18.1-1ubuntu1~16.04.6+esm1
released
golang-1.19
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
golang-1.20
oracular
dne
noble
dne
mantic
ignored
jammy
needs-triage
focal
needs-triage
golang-1.21
oracular
dne
noble
needs-triage
mantic
ignored
jammy
needs-triage
focal
needs-triage
golang-1.22
oracular
not-affected
noble
not-affected
mantic
ignored
jammy
not-affected
focal
not-affected
golang-1.6
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
xenial
needs-triage
golang-1.8
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
bionic
needs-triage
golang-1.9
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
bionic
needs-triage