CVE-2023-24531

unknown
Published 2024-07-02 · Modified 2026-02-04
CVSS v3
CVSS v2
VIR risk

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-24531

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-24531.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbullseyeaffected
debian debianbookwormaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gotoolchain<1.21.0-01.21.0-0

References

Verify integrity in audit chain (admin only). AS-IS.