openEuler Security Advisory
OESA-2022-2115
golang security update
Details
The Go Programming Language.
Security Fix(es):
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".(CVE-2022-41716)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | golang | All versions before 1.15.7-22.oe1 (fixed in 1.15.7-22.oe1) |
| openEuler:20.03-LTS-SP3 | golang | All versions before 1.15.7-22.oe1 (fixed in 1.15.7-22.oe1) |
| openEuler:22.03-LTS | golang | All versions before 1.17.3-12.oe2203 (fixed in 1.17.3-12.oe2203) |