cve.bz

CVE-2022-41716

7.5 highEPSS 1.0%

High (7.5) in golang go. EPSS 1.0% chance of exploitation in the next 30 days. Fixed in stdlib 1.18.8, 1.19.3.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.0% chance of exploitation in the next 30 days; higher than 63% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-1095Gostdlib<1.18.8
>=1.19.0-0 <1.19.3
1.18.8, 1.19.3

References

Check your stackJSON