Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-20001— Injection in fish

Quick assessment

Affected
fish-shell fish-shell
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Github fish是一个智能且用户友好的命令行 shell。 Github fish 存在注入漏洞,目前暂无该漏洞信息,请随时关注CNNVD或厂商公告。

CVSS 7.8 · High EPSS 1.47% · P72
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-20001

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Injection in fish
Source: CVE Program / CVE List V5
Vulnerability 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 controlled by the attacker, such as on a shared file system or extracted archive, fish will run arbitrary commands under the attacker's control. This problem has been fixed in fish 3.4.0. Note that running git in these directories, including using the git tab completion, remains a potential trigger for this issue. As a workaround, remove the `fish_git_prompt` function from the prompt.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Github fish 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Github fish是一个智能且用户友好的命令行 shell。 Github fish 存在注入漏洞,目前暂无该漏洞信息,请随时关注CNNVD或厂商公告。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
fish-shell fish-shell >= 3.1.0, < 3.4.0 -

II. Public POCs for CVE-2022-20001

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-20001

登录查看更多情报信息。

Patches & Fixes for CVE-2022-20001 (1)

Vendor Advisories for CVE-2022-20001 (3)

Mailing List Discussions for CVE-2022-20001 (2)

Other References for CVE-2022-20001 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-20001

No comments yet


Leave a comment