CVE-2022-41716
HIGH7.5EPSS 0.01%Unsanitized NUL in environment variables on Windows in syscall and os/exec
發布日:2022/11/1修改日:2026/4/28
描述
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".
受影響套件(4)
- Bitnami/golangfrom 0, < 1.18.8, >= 1.19.0, < 1.19.3
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0, < 1.19.3-1
- Go/stdlibfrom 0, < 1.18.8, >= 1.19.0-0, < 1.19.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
參考連結(7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-41716
- PATCHhttps://go.dev/cl/446916
- REPORThttps://go.dev/issue/56284
- WEBhttps://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-41716
- WEBhttps://pkg.go.dev/vuln/GO-2022-1095
- WEBhttps://security.netapp.com/advisory/ntap-20230120-0007/