CVE-2022-41716
Unsanitized NUL in environment variables on Windows in syscall and os/exec
7.5
HIGH
CVSS 3.1
EPSS 0.01%
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".
How to fix CVE-2022-41716
To remediate CVE-2022-41716, upgrade the affected package to a fixed version below.
- —upgrade to 1.18.8 or later
- —no fix listed
- —upgrade to 1.19.3-1 or later
- —upgrade to 1.18.8 or later
Is CVE-2022-41716 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.18.8, >= 1.19.0, < 1.19.3
- from 0
- from 0, < 1.19.3-1
- from 0, < 1.18.8, >= 1.19.0-0, < 1.19.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |