Vulnerability
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.
76 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-43104
CVE-2023-24531 affecting package msft-golang for versions less than 1.21.0-1
-
AZL-43110
CVE-2023-24531 affecting package golang for versions less than 1.21.0-1
-
AZL-52719
CVE-2023-24531 affecting package golang for versions less than 1.21.0-1
-
AZL-79036
CVE-2023-24531 affecting package golang 1.26.11-1
-
AZL-98667
CVE-2023-24531 affecting package golang 1.27.1-1
- CGA-22w6-4rg3-rh33
- CGA-242m-944m-9mjc
- CGA-2727-7246-gx62
- CGA-2q36-jfwp-pm86
- CGA-2rpp-rxr7-jm3g
- CGA-329m-wwrf-v4w2
- CGA-3c3c-39mg-236v
- CGA-3jwc-8582-6cm9
- CGA-3v8x-xr87-2488
- CGA-45xf-49p4-xgjm
- CGA-46vv-ppv5-32qw
- CGA-4cm4-6p4v-gv6x
- CGA-4fc2-r53r-qh99
- CGA-4j3w-8cpx-xg65
- CGA-4qg6-vfc4-fj7c
- CGA-52vv-5qv5-q4f2
- CGA-5fwg-p2fq-3grf
- CGA-5rj3-2x34-pxvx
- CGA-5v85-rp33-g534
- CGA-6g77-r8gh-4gcv
- CGA-6m5q-fq4v-4x52
- CGA-6p4f-j8cj-f8vh
- CGA-739h-3v89-r79c
- CGA-7g4r-983h-jrfr
- CGA-82w5-2gfx-4p56
- CGA-83rp-24r9-cwq7
- CGA-8j6q-q8gc-c9g2
- CGA-8wh6-fpr5-mwxr
- CGA-8xhm-89mf-cfq9
- CGA-968r-mhhm-7p8x
- CGA-97mr-vxgh-693w
- CGA-99hj-5vpf-8xvp
- CGA-9h64-j93w-5g3c
- CGA-9vhq-hq67-33gg
- CGA-c3p8-qw95-763c
- CGA-c58p-xqcv-vmhh
- CGA-cfj4-33ph-wrhp
- CGA-cg7p-57r3-wc6c
- CGA-cq82-mhr9-m6cr
- CGA-cxhw-vcx2-jp85
- CGA-f8wp-w97f-9wmp
- CGA-fgvw-8m6m-q8gp
- CGA-fh99-2jvq-mrm6
- CGA-fmjw-55r9-v55f
- CGA-fwgv-8h2w-mvgm
- CGA-hp49-fh95-7462
- CGA-j6jm-xm4x-pcm4
- CGA-jvrw-836c-hrpf
- CGA-mpjj-3rq9-fpmh
- CGA-p5fq-q2vc-2cp9
- CGA-p7fh-7q4q-w8mr
- CGA-q6fh-qp6h-8vvr
- CGA-qmh8-g9wq-w59c
- CGA-qrxg-v3v8-384g
- CGA-qwf6-5ww8-4hxw
- CGA-r777-cjm8-3x7j
- CGA-r7xx-xjw9-gjvq
- CGA-rv77-xf64-3f7r
- CGA-v5h3-r5p9-7876
- CGA-vm6f-72x2-85mm
- CGA-vmj5-rm26-w88f
- CGA-wrvg-vprp-3rmr
- CGA-ww7c-v66g-wq5c
- CGA-xcgq-hmg8-5w6f
- CGA-xj2j-qxrf-65x4
- CGA-xj4h-fr8h-3pf2
-
DEBIAN-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…
-
GO-2024-2962
Output of "go env" does not sanitize values in cmd/go
-
UBUNTU-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…
-
USN-7061-1
golang-1.17 vulnerabilities
-
USN-7109-1
golang-1.18 vulnerabilities