CVE-2023-39323
Arbitrary code execution during build via line directives in cmd/go
8.1
HIGH
CVSS 3.1
EPSS 1.8%
描述
Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.
如何修補 CVE-2023-39323
要修補 CVE-2023-39323,請將受影響套件升級到下列已修補版本。
- —升級至 1.20.9 或更新版本
- —未列出修補版本
- —未列出修補版本
- —升級至 1.20.9 或更新版本
CVE-2023-39323 正在被利用嗎?
低 — EPSS 為 1.8%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 1.20.9, >= 1.21.0, < 1.21.2
- from 0
- from 0
- from 0, < 1.20.9, >= 1.21.0-0, < 1.21.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |