CVE-2023-29405
Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
9.8
CRITICAL
CVSS 3.1
EPSS 1.7%
描述
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.
如何修補 CVE-2023-29405
要修補 CVE-2023-29405,請將受影響套件升級到下列已修補版本。
- —升級至 1.19.10 或更新版本
- —未列出修補版本
- —未列出修補版本
- —升級至 1.19.10 或更新版本
CVE-2023-29405 正在被利用嗎?
低 — EPSS 為 1.7%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 1.19.10, >= 1.20.0, < 1.20.5
- from 0
- from 0
- from 0, < 1.19.10, >= 1.20.0-0, < 1.20.5
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 |