← Back

CVE-2022-41716

nvd nist
Published: Nov 2, 2022Modified: Nov 21, 2024

JSON object

Loading...
7.5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Exploitability: 3.9 / Impact: 3.6
Source: NVD

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

Affected (2)

Products: Golang: Go
1 product
Go
Configuration A
2 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
Golang
Before 1.18.8
From 1.19.0 to 1.19.3
Running on/withPlatform Versions
Microsoft
Windows
All versions

References (9)

Source: security@golang.org
PatchVendor Advisory
Source: security@golang.org
Issue TrackingPatchVendor Advisory
Source: security@golang.org
PatchRelease NotesVendor Advisory
Source: security@golang.org
Vendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
PatchVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Issue TrackingPatchVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
PatchRelease NotesVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.