CVE-2022-41716 Affecting golang-shared package, versions <0:1.18.8-1.amzn2.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GOLANGSHARED-3159990
  • published7 Dec 2022
  • disclosed2 Nov 2022

Introduced: 2 Nov 2022

CVE-2022-41716  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 golang-shared to version 0:1.18.8-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1887.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-shared package and not the golang-shared package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

CVSS Scores

version 3.1