A corrective release 3.6.2 of the fish interactive shell has been made to fix a vulnerability CVE-2023-49284.
The fish shell uses certain Unicode characters for its internal wildcard and extension marking. This incorrect approach allowed these characters to be read in the command substitution output instead of converting them to a safe internal representation.
While this may cause unexpected behavior during direct input (for example, echo UFDD2HOME has the same output as echo $HOME), it could become a minor security issue if the output is provided from an external program into command substitution, where such output might not be expected.
This design flaw has existed since the earliest versions of fish, even before version control systems were in place, and is believed to be present in every fish version released over the last 15 years or more, albeit with varying characters.
Code execution is not possible, but a DoS attack (through the disclosure of a large number of brackets) or information disclosure (for instance, via variable expansion) is potentially possible under certain circumstances.
Version 3.6.3 only fixed tests.
Source: linux.org.ru
