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.

INFO

Published Date :

2024-07-02T19:51:48.731Z

Last Modified :

2025-03-28T15:02:59.076Z

Source :

Go
AFFECTED PRODUCTS

The following products are affected by CVE-2023-24531 vulnerability.

Vendors Products
Gotoolchain
  • Cmd\/go

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact