CVE-2022-42906
powerline-gitstatus - security update
描述
powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code execution. git repositories can contain per-repository configuration that changes the behavior of git, including running arbitrary commands. When using powerline-gitstatus, changing to a directory automatically runs git commands in order to display information about the current repository in the prompt. If an attacker can convince a user to change their current directory to one controlled by the attacker, such as in a shared filesystem or extracted archive, powerline-gitstatus will run arbitrary commands under the attacker's control. NOTE: this is similar to CVE-2022-20001.
如何修補 CVE-2022-42906
要修補 CVE-2022-42906,請將受影響套件升級到下列已修補版本。
- —升級至 1.3.2-0+deb11u1 或更新版本
- —升級至 1.3.2-0+deb10u1 或更新版本
- —升級至 1.3.2 或更新版本
CVE-2022-42906 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.3.2-0+deb11u1
- from 0, < 1.3.2-0+deb10u1
- from 0, < 1.3.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |