Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-41716

Due to unsanitized NUL values, attackers may be able to maliciously se ...

Overview

Published
2 Nov 2022
Modified
17 Jun 2026
High CVE
2 Registry packages
29 OS packages
11 Linux distributions
Yes Fix available

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

Packages affected by CVE-2022-41716
EcosystemPackageVulnerableFixed in
Bitnami golang <1.18.8>=1.19.0, <1.19.3 1.18.81.19.3
Go stdlib <1.18.8>=1.19.0-0, <1.19.3 1.18.81.19.3

Open a package to see all its vulnerabilities.

Operating systems · 24 fixes

Oracle Linux 1 release · 3 packages

fixed 3
go-toolset golang delve
Oracle Linux fixes for CVE-2022-41716
ReleasePackageFixed 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

fixed 4
go kubernetes-dashboard falco
Photon OS fixes for CVE-2022-41716
ReleasePackageFixed 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

fixed 3
go1-18-openssl go1-18 go1-19
SUSE Linux Enterprise fixes for CVE-2022-41716
ReleasePackageFixed inAdvisory
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

fixed 2
golist golang
amazon linux fixes for CVE-2022-41716
ReleasePackageFixed 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

fixed 1
kubeflow-katib
chainguard fixes for CVE-2022-41716
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

debian 2 releases · 2 packages

affected 1 fixed 1
golang-1-15 golang-1-19
debian fixes for CVE-2022-41716
ReleasePackageFixed in
11 golang-1-15 affected
12 golang-1-19 1.19.3-1

echo 1 release · 1 package

fixed 1
golang-1-19
echo fixes for CVE-2022-41716
ReleasePackageFixed in
golang-1-19 1.19.3-1

openSUSE 1 release · 2 packages

fixed 2
go1-18 go1-19
openSUSE fixes for CVE-2022-41716
ReleasePackageFixed inAdvisory
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

fixed 1
rootio-golang-1-19
root.io debian fixes for CVE-2022-41716
ReleasePackageFixed in
12 rootio-golang-1-19 1.19.3-1

wolfi 1 release · 1 package

fixed 1
kubeflow-katib
wolfi fixes for CVE-2022-41716
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

alpine 4 releases · 1 package

not affected 4
go
alpine fixes for CVE-2022-41716
ReleasePackageFixed in
3.22 go not affected
3.23 go not affected
3.24 go not affected
edge go not affected

References

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.