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.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | no-fix-debian-deb-package | May 15, 2025 | Jul 2, 2024 | |
| Ubuntu | ubuntu-pro-upgrade-golang-1-18ubuntu-pro-upgrade-golang-1-18-goubuntu-pro-upgrade-golang-1-18-srcubuntu-upgrade-golang-1-17ubuntu-upgrade-golang-1-17-goubuntu-upgrade-golang-1-17-srcubuntu-upgrade-golang-1-18ubuntu-upgrade-golang-1-18-goubuntu-upgrade-golang-1-18-src | Oct 11, 2024 | Jul 2, 2024 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Jul 2, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub