CVE-2022-30580
Empty Cmd.Path can trigger unintended binary in os/exec on Windows
7.8
HIGH
CVSS 3.1
EPSS 0.58%
描述
Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.
如何修補 CVE-2022-30580
要修補 CVE-2022-30580,請將受影響套件升級到下列已修補版本。
- —升級至 1.17.11 或更新版本
- —升級至 1.17.11 或更新版本
CVE-2022-30580 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 1.17.11, >= 1.18.0, < 1.18.3
- from 0, < 1.17.11, >= 1.18.0-0, < 1.18.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |