CVE-2022-41716
published 2022-11-02CVE-2022-41716: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid…
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.78%
51.2th percentile
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".
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-1.15 | < golang-1.19 1.19.3-1 (bookworm) | golang-1.19 1.19.3-1 (bookworm) |
| debian | golang-1.19 | < golang-1.19 1.19.3-1 (bookworm) | golang-1.19 1.19.3-1 (bookworm) |
| go_standard_library | os_exec | < 1.18.8 | 1.18.8 |
| go_standard_library | os_exec | >= 1.19.0-0 < 1.19.3 | 1.19.3 |
| go_standard_library | syscall | < 1.18.8 | 1.18.8 |
| go_standard_library | syscall | >= 1.19.0-0 < 1.19.3 | 1.19.3 |
| golang | go | < 1.18.8 | 1.18.8 |
| golang | go | >= 1.19.0 < 1.19.3 | 1.19.3 |
| msrc | azl3_gcc_13.2.0-7_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.24.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-6_on_azure_linux_3.0 | — | — |
| msrc | azl3_tensorflow_2.16.1-9_on_azure_linux_3.0 | — | — |
| paloalto | pan-os | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_msrc6.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
vendor_paloalto·2024-02-14·CVSS 9.8
CVE-2017-18342 [CRITICAL] PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS software. While PAN-OS software may include the
CVEs: CVE-2017-18342, CVE-2017-8923, CVE-2017-9120, CVE-2019-1551, CVE-2019-16865, CVE-2019-16905, CVE-2019-19523, CVE-2019-19528, CVE-2019-19911, CVE-2020-0404, CVE-2020-0431, CVE-2020-0466, CVE-2020-10379, CVE-2020-11538, CVE-2020-11608, CVE-2020-12114, CVE-2020-12321, CVE-2020-12362, CVE-2020-12363, CVE-2020-12364, CVE-2020-13757, CVE-2020-14314, CVE-2020-14351, CVE-2020-15778, CVE-2020-1967, CVE-2020-24394, CVE-2020-24504, CVE-2020-25211, CVE-2020-25212, CVE-2020-25284, CVE-2020-25285, CVE-2020-25717, CVE-2020-26541, CVE-2020-2715
Microsoft
Unsanitized NUL in environment variables on Windows in syscall and os/exec
vendor_msrc·2022-11-08·CVSS 6.3
CVE-2022-41716 [HIGH] Unsanitized NUL in environment variables on Windows in syscall and os/exec
Unsanitized NUL in environment variables on Windows in syscall and os/exec
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Go: Go
Customer Action Required: Yes
Debian
CVE-2022-41716: golang-1.15 - Due to unsanitized NUL values, attackers may be able to maliciously set environm...
vendor_debian·2022·CVSS 7.5
CVE-2022-41716 [HIGH] CVE-2022-41716: golang-1.15 - Due to unsanitized NUL values, attackers may be able to maliciously set environm...
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".
Scope: local
bullseye: open
OSV
CVE-2022-41716: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows
osv·2022-11-02·CVSS 7.5
CVE-2022-41716 [HIGH] CVE-2022-41716: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows
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".
GHSA
GHSA-mh68-qf2j-8c5g: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows
ghsa_unreviewed·2022-11-02
CVE-2022-41716 [HIGH] CWE-158 GHSA-mh68-qf2j-8c5g: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows
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".
OSV
Unsanitized NUL in environment variables on Windows in syscall and os/exec
osv·2022-11-01
CVE-2022-41716 Unsanitized NUL in environment variables on Windows in syscall and os/exec
Unsanitized NUL in environment variables on Windows in syscall and os/exec
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".
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://go.dev/cl/446916https://go.dev/issue/56284https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJhttps://pkg.go.dev/vuln/GO-2022-1095https://go.dev/cl/446916https://go.dev/issue/56284https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJhttps://pkg.go.dev/vuln/GO-2022-1095https://security.netapp.com/advisory/ntap-20230120-0007/
2022-11-02
Published