Vulnerability

CVE-2022-42906

highCVSS 3.1 7.8Published 13 Oct 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Powerline Gitstatus Project powerline gitstatus

Weakness type

References

  • github.com /jaspernbrouwer/powerline-gitstatus/issues/45
  • github.com /jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2
  • lists.debian.org /debian-lts-announce/2023/01/msg00017.html

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning