CVE-2022-41716
Apache Go Windows Environment Variable Vulnerability - Buffer Overflow
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".
INFO
Published Date :
Nov. 2, 2022, 4:15 p.m.
Last Modified :
Oct. 30, 2024, 2:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-41716 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-41716
.
URL | Resource |
---|---|
https://go.dev/cl/446916 | Patch Vendor Advisory |
https://go.dev/issue/56284 | Issue Tracking Patch Vendor Advisory |
https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ | Patch Release Notes Vendor Advisory |
https://pkg.go.dev/vuln/GO-2022-1095 | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile
None
Dockerfile
None
Dockerfile
Container image with malware and crypto miner for testing purposes
container crypto cryptominer dockerfile eicar image malware test xmrig
Dockerfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-41716
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-41716
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Removed CWE Go Project CWE-158 -
Reanalysis by [email protected]
Jun. 27, 2023
Action Type Old Value New Value Removed CWE NIST CWE-74 Added CWE NIST NVD-CWE-Other -
Initial Analysis by [email protected]
Nov. 04, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://go.dev/cl/446916 No Types Assigned https://go.dev/cl/446916 Patch, Vendor Advisory Changed Reference Type https://go.dev/issue/56284 No Types Assigned https://go.dev/issue/56284 Issue Tracking, Patch, Vendor Advisory Changed Reference Type https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ No Types Assigned https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ Patch, Release Notes, Vendor Advisory Changed Reference Type https://pkg.go.dev/vuln/GO-2022-1095 No Types Assigned https://pkg.go.dev/vuln/GO-2022-1095 Vendor Advisory Added CWE NIST CWE-74 Added CPE Configuration AND OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.18.8 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.19.0 up to (excluding) 1.19.3 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-41716
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-41716
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} -0.00%
score
0.41724
percentile