CVE-2023-39320
Arbitrary code execution via go.mod toolchain directive in cmd/go
9.8
CRITICAL
CVSS 3.1
EPSS 1.4%
描述
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.
如何修補 CVE-2023-39320
要修補 CVE-2023-39320,請將受影響套件升級到下列已修補版本。
- —升級至 1.21.1 或更新版本
- —升級至 1.21.1 或更新版本
CVE-2023-39320 正在被利用嗎?
低 — EPSS 為 1.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 1.21.0, < 1.21.1
- >= 1.21.0-0, < 1.21.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |