CVE-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 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".
References
Link Resource
https://go.dev/cl/446916 Patch Vendor Advisory
https://go.dev/issue/56284 Issue Tracking Patch Vendor Advisory
https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ Patch Release Notes Vendor Advisory
https://pkg.go.dev/vuln/GO-2022-1095 Vendor Advisory
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

27 Jun 2023, 14:39

Type Values Removed Values Added
CWE CWE-74 NVD-CWE-Other

04 Nov 2022, 13:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-74
CPE cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References (MISC) https://go.dev/issue/56284 - (MISC) https://go.dev/issue/56284 - Issue Tracking, Patch, Vendor Advisory
References (MISC) https://pkg.go.dev/vuln/GO-2022-1095 - (MISC) https://pkg.go.dev/vuln/GO-2022-1095 - Vendor Advisory
References (MISC) https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ - (MISC) https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ - Patch, Release Notes, Vendor Advisory
References (MISC) https://go.dev/cl/446916 - (MISC) https://go.dev/cl/446916 - Patch, Vendor Advisory

02 Nov 2022, 16:55

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-02 16:15

Updated : 2024-10-30 14:35


NVD link : CVE-2022-41716

Mitre link : CVE-2022-41716

CVE.ORG link : CVE-2022-41716


JSON object : View

Products Affected

microsoft

  • windows

golang

  • go