CVE-2022-42906Command Injection in Gitstatus Project Powerline Gitstatus

Severity
7.8HIGHNVD
EPSS
0.6%
top 31.36%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 13

Description

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

debiandebian/powerline-gitstatus< powerline-gitstatus 1.3.2-1 (bookworm)

Also affects: Debian Linux 10.0

🔴Vulnerability Details

3
GHSA
Powerline Gitstatus vulnerable to arbitrary code execution2022-10-13
OSV
CVE-2022-42906: powerline-gitstatus (aka Powerline Gitstatus) before 12022-10-13
OSV
Powerline Gitstatus vulnerable to arbitrary code execution2022-10-13

📋Vendor Advisories

1
Debian
CVE-2022-42906: powerline-gitstatus - powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code...2022