cve.bz

CVE-2022-41716 golang go

7.5 highEPSS 1.0%Fix available

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

On this page
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% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41716 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41716?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41716?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41716 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library syscallbefore 1.18.8
Go standard library syscallfrom 1.19.0-0 before 1.19.3
Go standard library os/execbefore 1.18.8
Go standard library os/execfrom 1.19.0-0 before 1.19.3

Packages (OSV)

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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.191.19.3-1DEBIAN-CVE-2022-41716
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2022-41716
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2022-41716
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2022-41716
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 1 moreno fix listedUBUNTU-CVE-2022-41716
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20no fix listedUBUNTU-CVE-2022-41716
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2022-41716
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2022-41716
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2022-41716
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2022-41716
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morego1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4go1.181.18.8-150000.1.37.1SUSE-SU-2022:4055-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4go1.191.19.3-150000.1.15.1SUSE-SU-2022:4054-1
openSUSELeap 15.3, Leap 15.4go1.181.18.8-150000.1.37.1SUSE-SU-2022:4055-1
openSUSELeap 15.3, Leap 15.4go1.191.19.3-150000.1.15.1SUSE-SU-2022:4054-1
openSUSELeap 15.4, Leap 15.5go1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
openSUSETumbleweedgo1.181.18.8-1.1openSUSE-SU-2024:12471-1
openSUSETumbleweedgo1.191.19.3-1.1openSUSE-SU-2024:12472-1
Azure Linux3golangno fix listedAZL-79026 AZL-98883

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

References

Check your stackJSON