Vulnerability CVE-2023-39320: Information
Description
The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly using VCS software.
Severity: CRITICAL (9.8) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
golang | sisyphus | 1.21.1-alt1 | 1.22.2-alt1 | ALT-PU-2023-5463-1 | 328866 | Fixed |
golang | sisyphus_riscv64 | 1.21.1-alt0.port | 1.22.2-alt1 | ALT-PU-2023-5614-1 | - | Fixed |
golang | p10 | 1.20.8-alt1 | 1.21.9-alt1 | ALT-PU-2023-5464-2 | 328867 | Fixed |
golang | c10f1 | 1.20.8-alt1 | 1.21.9-alt1 | ALT-PU-2023-5492-2 | 328868 | Fixed |
golang | c9f2 | 1.20.11-alt1 | 1.20.11-alt1 | ALT-PU-2023-7055-2 | 333913 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ |
|
https://go.dev/cl/526158 |
|
https://pkg.go.dev/vuln/GO-2023-2042 |
|
https://go.dev/issue/62198 |
|
https://security.netapp.com/advisory/ntap-20231020-0004/ |
|
https://security.gentoo.org/glsa/202311-09 |