CVE-2023-24531
Last modified
CVE-2023-24531 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-24531?
How severe is CVE-2023-24531?
How do I fix CVE-2023-24531?
Are you affected by CVE-2023-24531?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
