CVE-2022-41716
Fixed in a distro release EPSS <1%CVSS 6.3
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".
Products: Go standard library syscall, Go standard library os/exec
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | stdlib | 1.18.8 |
| Go | stdlib | 1.19.3 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2023 | golang | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-bin | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-docs | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-misc | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-race | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-shared | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-src | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golang-tests | 1.19.3-2.amzn2023.0.2 |
| Amazon Linux 2023 | golist | 0.10.1-11.amzn2023.0.3 |
| Chainguard | katib-earlystopping | 0.19.0-r31 |
| Chainguard | katib-suggestion-goptuna-compat | no fix |
| Chainguard | katib-suggestion-hyperband | 0.19.0-r31 |
| Chainguard | katib-suggestion-hyperopt | 0.19.0-r40 |
| Chainguard | katib-suggestion-hyperopt | 0.19.0-r31 |
| Chainguard | katib-suggestion-nas-darts | 0.19.0-r31 |
| Chainguard | katib-suggestion-nas-enas | 0.19.0-r31 |
| Chainguard | katib-suggestion-optuna-enas | 0.19.0-r31 |
| Chainguard | katib-suggestion-pbt-enas | 0.19.0-r31 |
| Chainguard | katib-suggestion-skopt-enas | 0.19.0-r31 |
| Chainguard | katib-tfevent-metricscollector | 0.19.0-r31 |
| Debian 12 | golang-1.19 | 1.19.3-1 |
| SUSE Enterprise Storage 7.1 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | go1.18 | 1.18.8-150000.1.37.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | go1.19 | 1.19.3-150000.1.15.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | go1.18 | 1.18.8-150000.1.37.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | go1.19 | 1.19.3-150000.1.15.1 |
| SUSE Linux Enterprise Real Time 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| Ubuntu 14.04 LTS | golang-1.10 | no fix |
| Ubuntu 16.04 LTS | golang-1.10 | no fix |
| Ubuntu 16.04 LTS | golang-1.6 | no fix |
| Ubuntu 18.04 LTS | golang-1.10 | no fix |
| Ubuntu 18.04 LTS | golang-1.8 | no fix |
| Ubuntu 18.04 LTS | golang-1.9 | no fix |
| Ubuntu 20.04 LTS | golang-1.13 | no fix |
| Ubuntu 20.04 LTS | golang-1.14 | no fix |
| Ubuntu 20.04 LTS | golang-1.18 | no fix |
| Ubuntu 20.04 LTS | golang-1.20 | no fix |
| Ubuntu 22.04 LTS | golang-1.17 | no fix |
| Ubuntu 22.04 LTS | golang-1.18 | no fix |
| Ubuntu 22.04 LTS | golang-1.20 | no fix |
| Ubuntu Pro 16.04 LTS | golang-1.13 | no fix |
| Ubuntu Pro 16.04 LTS | golang-1.18 | no fix |
| Ubuntu Pro 18.04 LTS | golang-1.13 | no fix |
| Ubuntu Pro 18.04 LTS | golang-1.16 | no fix |
| Ubuntu Pro 18.04 LTS | golang-1.18 | no fix |
| Ubuntu Pro 20.04 LTS | golang-1.16 | no fix |
| Ubuntu Pro 22.04 LTS | golang-1.13 | no fix |
| Wolfi | katib-earlystopping | 0.19.0-r31 |
| Wolfi | katib-suggestion-goptuna-compat | no fix |
| Wolfi | katib-suggestion-hyperband | 0.19.0-r31 |
| Wolfi | katib-suggestion-hyperopt | 0.19.0-r40 |
| Wolfi | katib-suggestion-hyperopt | 0.19.0-r31 |
| Wolfi | katib-suggestion-nas-darts | 0.19.0-r31 |
| Wolfi | katib-suggestion-nas-enas | 0.19.0-r31 |
| Wolfi | katib-suggestion-optuna-enas | 0.19.0-r31 |
| Wolfi | katib-suggestion-pbt-enas | 0.19.0-r31 |
| Wolfi | katib-suggestion-skopt-enas | 0.19.0-r31 |
| Wolfi | katib-tfevent-metricscollector | 0.19.0-r31 |
| openSUSE Leap 15.3 | go1.18 | 1.18.8-150000.1.37.1 |
| openSUSE Leap 15.3 | go1.19 | 1.19.3-150000.1.15.1 |
| openSUSE Leap 15.4 | go1.18 | 1.18.8-150000.1.37.1 |
| openSUSE Leap 15.4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| openSUSE Leap 15.4 | go1.19 | 1.19.3-150000.1.15.1 |
| openSUSE Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 |
| openSUSE Tumbleweed | go1.18 | 1.18.8-1.1 |
| openSUSE Tumbleweed | go1.19 | 1.19.3-1.1 |