vulnerability
FreeBSD: VID-26B1100A-5A27-11ED-ABFE-29AC76EC31B5 (CVE-2022-41716): go -- syscall, os/exec: unsanitized NUL in environment variables
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
8 | (AV:N/AC:L/Au:N/C:N/I:C/A:N) | Oct 17, 2022 | Nov 4, 2022 | Jan 28, 2025 |
Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:C/A:N)
Published
Oct 17, 2022
Added
Nov 4, 2022
Modified
Jan 28, 2025
Description
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".
Solution(s)
freebsd-upgrade-package-go118freebsd-upgrade-package-go119
References

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.