Vulnerability in Golang Go

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".

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

EPSS exploit prediction

EPSS: 0.008 (56.1th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-41716: held from 0.008 to 0.008.

EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-41716?
CVE-2022-41716 is a high-severity vulnerability in Golang Go, classified under CWE-158: IMPROPER NEUTRALIZATION OF NULL BYTE OR NUL CHARACTER. CVSS score: 7.5/10. Published 2022-11-02.
How severe is CVE-2022-41716?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2022-41716 known to be exploited?
9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.