CVE-2022-41716
Due to unsanitized NUL values, attackers may be able to maliciously se ...
Overview
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".
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected packages · 2
Operating systems · 24 fixes
Oracle Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset | 1.19.4-1.module+el8.7.0+20922+47ac84ba |
| 8 | golang +6 | 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba |
| 8 | delve | 1.9.1-1.0.1.module+el8.7.0+20922+47ac84ba |
Photon OS 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.19.3-1.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
| 5.0 | falco | 0.32.2-6.0601037001.ph5 |
| 5.0 | go | 1.26.3-1.ph5 |
SUSE Linux Enterprise 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-18-openssl +2 | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| 15.4 | go1-18 +2 | 1.18.8-150000.1.37.1 | SUSE-SU-2022:4055-1 |
| 15.4 | go1-19 +2 | 1.19.3-150000.1.15.1 | SUSE-SU-2022:4054-1 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golist +2 | 0.10.1-11.amzn2023.0.3 |
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | 1.19.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19.3-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-18 +2 | 1.18.8-1.1 | openSUSE-SU-2024:12471-1 |
| Tumbleweed | go1-19 +2 | 1.19.3-1.1 | openSUSE-SU-2024:12472-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | 1.19.3-1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | not affected |
| 3.23 | go | not affected |
| 3.24 | go | not affected |
| edge | go | not affected |
References
- go.dev https://go.dev/cl/446916
- go.dev https://go.dev/issue/56284
- groups.google.com https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-41716.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-18908.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-41716
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-1095
- security.netapp.com https://security.netapp.com/advisory/ntap-20230120-0007/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.