Vulnerability 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".
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.18.8 |
| Microsoft | Windows | - |
References
- https://go.dev/cl/446916PatchVendor Advisory
- https://go.dev/issue/56284Issue TrackingPatchVendor Advisory
- https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJPatchRelease NotesVendor Advisory
- https://pkg.go.dev/vuln/GO-2022-1095Vendor Advisory
- https://go.dev/cl/446916PatchVendor Advisory
- https://go.dev/issue/56284Issue TrackingPatchVendor Advisory
- https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJPatchRelease NotesVendor Advisory
- https://pkg.go.dev/vuln/GO-2022-1095Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230120-0007/
FAQ
What is CVE-2022-41716?
CVE-2022-41716 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 va...
How severe is CVE-2022-41716?
CVE-2022-41716 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-41716?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go, Microsoft Windows.