Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D".
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: Go
Published: 2022-11-02T15:28:19.574Z
Updated: 2024-08-03T12:49:43.904Z
Reserved: 2022-09-28T17:00:06.607Z
Link: CVE-2022-41716
Vulnrichment
Updated: 2024-08-03T12:49:43.904Z
NVD
Status : Modified
Published: 2022-11-02T16:15:11.150
Modified: 2023-11-07T03:52:55.307
Link: CVE-2022-41716
Redhat
No data.