CVE-2022-42906 – powerline-gitstatus
Package
Manager: pip
Name: powerline-gitstatus
Vulnerable Version: >=0 <1.3.2
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00068 pctl0.21411
Details
Powerline Gitstatus vulnerable to arbitrary code execution 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.
Metadata
Created: 2022-10-13T12:00:26Z
Modified: 2023-01-20T22:03:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-w67g-6gjv-c599/GHSA-w67g-6gjv-c599.json
CWE IDs: ["CWE-77", "CWE-94"]
Alternative ID: GHSA-w67g-6gjv-c599
Finding: F422
Auto approve: 1