Upstream information
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.SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having important severity.
National Vulnerability Database | |
---|---|
Base Score | 6.8 |
Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Access Vector | Network |
Access Complexity | Medium |
Authentication | None |
Confidentiality Impact | Partial |
Integrity Impact | Partial |
Availability Impact | Partial |
National Vulnerability Database | SUSE | |
---|---|---|
Base Score | 7.8 | 7.3 |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Attack Vector | Local | Local |
Attack Complexity | Low | Low |
Privileges Required | None | Low |
User Interaction | Required | Required |
Scope | Unchanged | Unchanged |
Confidentiality Impact | High | High |
Integrity Impact | High | High |
Availability Impact | High | High |
CVSSv3 Version | 3.1 | 3.1 |
SUSE Security Advisories:
- openSUSE-SU-2022:0096-1, published Thu Mar 31 16:45:22 2022
List of released packages
Product(s) | Fixed package version(s) | References |
---|---|---|
SUSE Package Hub 15 SP3 |
| Patchnames: openSUSE-2022-96 |
openSUSE Leap 15.3 |
| Patchnames: openSUSE-2022-96 |
openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2024-11936 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products under general support and receiving all security fixes. | ||
openSUSE Leap 15.5 | fish | Not affected |
openSUSE Leap 15.6 | fish | Not affected |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise High Performance Computing 15 SP3 | fish | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | fish | Not affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | fish | Not affected |
SUSE Linux Enterprise Module for Containers 15 SP3 | fish | Not affected |
SUSE Linux Enterprise Server 15 SP3 | fish | Not affected |
SUSE Linux Enterprise Server 15 SP3-LTSS | fish | Not affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | fish | Not affected |
Products past their end of life and not receiving proactive updates anymore. | ||
SUSE Enterprise Storage 7.1 | fish | Not affected |
SUSE Linux Enterprise Server 15 SP3-BCL | fish | Not affected |
SUSE Manager Proxy 4.2 | fish | Not affected |
SUSE Manager Retail Branch Server 4.2 | fish | Not affected |
SUSE Manager Server 4.2 | fish | Not affected |
SUSE Package Hub 15 SP3 | fish3 | Released |
openSUSE Leap 15.3 | fish | Not affected |
openSUSE Leap 15.4 | fish | Not affected |
SUSE Timeline for this CVE
CVE page created: Tue Mar 15 01:00:23 2022CVE page last modified: Fri Sep 13 13:18:26 2024