CVE编号
CVE-2022-20001利用情况
暂无补丁情况
N/A披露时间
2022-03-15漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/fish-shell/fish-shell/pull/8589 | |
https://github.com/fish-shell/fish-shell/releases/tag/3.4.0 | |
https://github.com/fish-shell/fish-shell/security/advisories/GHSA-pj5f-6vxj-f5mq | |
https://lists.fedoraproject.org/archives/list/[email protected]... | |
https://lists.fedoraproject.org/archives/list/[email protected]... |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | fishshell | fish | * |
From (including) 3.1.0 |
Up to (including) 3.3.1 |
||||
运行在以下环境 | |||||||||
系统 | alpine_edge | fish | * |
Up to (excluding) 3.4.0-r0 |
|||||
运行在以下环境 | |||||||||
系统 | debian_11 | fish | * |
Up to (excluding) 3.1.2-3 |
|||||
运行在以下环境 | |||||||||
系统 | debian_12 | fish | * |
Up to (excluding) 3.3.1+ds-3 |
|||||
运行在以下环境 | |||||||||
系统 | debian_sid | fish | * |
Up to (excluding) 3.3.1+ds-3 |
|||||
运行在以下环境 | |||||||||
系统 | fedora_35 | fish | * |
Up to (excluding) 3.4.1-1.fc35 |
|||||
运行在以下环境 | |||||||||
系统 | fedora_36 | fish | * |
Up to (excluding) 3.4.1-1.fc36 |
|||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | fish | * |
Up to (excluding) 3.3.1-bp153.2.10.1 |
|||||
- 攻击路径 本地
- 攻击复杂度 低
- 权限要求 无
- 影响范围 未更改
- 用户交互 需要
- 可用性 高
- 保密性 高
- 完整性 高
还没有评论,来说两句吧...