Severity
7.8HIGHNVD
OSV7.5
EPSS
0.3%
top 48.68%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 14
Latest updateFeb 1

Description

fish is a command line shell. fish version 3.1.0 through version 3.3.1 is vulnerable to arbitrary code execution. git repositories can contain per-repository configuration that change the behavior of git, including running arbitrary commands. When using the default configuration of fish, 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 into one

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 Packages6 packages

Debianfishshell/fish< 3.1.2-3+deb11u1+3
NVDfishshell/fish3.1.03.3.1
debiandebian/fish< fish 3.4.0+ds-1 (bookworm)
debiandebian/powerline-gitstatus< powerline-gitstatus 1.3.2-1 (bookworm)

Also affects: Debian Linux 10.0, 11.0, Fedora 35, 36

Patches

🔴Vulnerability Details

6
OSV
apache2 vulnerabilities2023-02-01
OSV
apache2 vulnerabilities2023-01-31
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

4
Ubuntu
fish vulnerability2022-08-10
Microsoft
Injection in fish2022-03-08
Debian
CVE-2022-20001: fish - fish is a command line shell. fish version 3.1.0 through version 3.3.1 is vulner...2022
Debian
CVE-2022-42906: powerline-gitstatus - powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code...2022
CVE-2022-20001 — Injection in Debian Fish | cvebase