6.6
CVSSv3

CVE-2023-49284

Published: 05/12/2023 Updated: 08/12/2023
CVSS v3 Base Score: 6.6 | Impact Score: 5.2 | Exploitability Score: 1.3
VMScore: 0

Vulnerability Summary

fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish shell uses certain Unicode non-characters internally for marking wildcards and expansions. It will incorrectly allow these markers to be read on command substitution output, rather than transforming them into a safe internal representation. While this may cause unexpected behavior with direct input (for example, echo \UFDD2HOME has the same output as echo $HOME), this may become a minor security problem if the output is being fed from an external program into a command substitution where this output may not be expected. This design flaw was introduced in very early versions of fish, predating the version control system, and is thought to be present in every version of fish released in the last 15 years or more, although with different characters. Code execution does not appear to be possible, but denial of service (through large brace expansion) or information disclosure (such as variable expansion) is potentially possible under certain circumstances. fish shell 3.6.2 has been released to correct this issue. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

fishshell fish

Vendor Advisories

Debian Bug report logs - #1057455 fish: CVE-2023-49284 Package: src:fish; Maintainer for src:fish is Tristan Seligmann <mithrandi@debianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Tue, 5 Dec 2023 11:06:02 UTC Severity: important Tags: security, upstream Found in version fish/361-1 Repl ...

Mailing Lists

<!--X-Body-Begin--> <!--X-User-Header--> oss-sec mailing list archives <!--X-User-Header-End--> <!--X-TopPNI--> By Date By Thread </form> <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> CVE-2023-49284: fish command substitution output can trigger shell expansion <!--X-Subject-Header-End--> <!--X-Head-of-Message ...