Bugzilla – Bug 1217808
VUL-0: CVE-2023-49284: fish: command substitution output can trigger shell expansion
Last modified: 2024-05-28 11:52:59 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-49284 https://github.com/fish-shell/fish-shell/security/advisories/GHSA-2j9r-pm96-wp4f https://github.com/fish-shell/fish-shell/commit/09986f5563e31e2c900a606438f1d60d008f3a14
This affects all versions we ship: - SUSE:SLE-15:Update/fish - openSUSE:Backports:SLE-15-SP4/fish - openSUSE:Backports:SLE-15-SP5/fish - SUSE:ALP:Source:Standard:1.0/fish - openSUSE:Factory/fish
This is an autogenerated message for OBS integration: This bug (1217808) was mentioned in https://build.opensuse.org/request/show/1132456 Factory / fish
This is an autogenerated message for OBS integration: This bug (1217808) was mentioned in https://build.opensuse.org/request/show/1132463 Factory / fish
Re assigning to the security team, all streams should be fixed. Note that I don't think we are using the `SUSE:SLE-15:Update/fish` version anywhere anymore, everything should be coming from the openSUSE versions in Package hub.
This is an autogenerated message for OBS integration: This bug (1217808) was mentioned in https://build.opensuse.org/request/show/1132779 Backports:SLE-15-SP5 / fish https://build.opensuse.org/request/show/1132780 Backports:SLE-15-SP4 / fish
openSUSE-SU-2023:0405-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1217808 CVE References: CVE-2023-49284 JIRA References: Sources used: openSUSE Backports SLE-15-SP5 (src): fish-3.3.1-bp155.4.3.1
openSUSE-SU-2023:0404-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 1217808 CVE References: CVE-2023-49284 JIRA References: Sources used: openSUSE Backports SLE-15-SP4 (src): fish-3.3.1-bp154.3.3.1
Done, closing.