A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- go.dev /cl/488375
- go.dev /cl/493535
- go.dev /issue/58508
- groups.google.com /g/golang-dev/c/ixHOFpSbajE/m/8EjlbKVWAwAJ
- pkg.go.dev /vuln/GO-2024-2962
- security.netapp.com /advisory/ntap-20250328-0005/
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning