OESA-2023-1939

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1939
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1939.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2023-1939
Upstream
Published
2023-12-22T11:06:31Z
Modified
2025-09-03T06:19:39.286900Z
Summary
fish security update
Details

fish is a fully-equipped command line shell (like bash or zsh) that is smart and user-friendly. fish supports powerful features like syntax highlighting, autosuggestions, and tab completions that just work, with nothing to learn or configure.

Security Fix(es):

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.(CVE-2023-49284)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP2 / fish

Package

Name
fish
Purl
pkg:rpm/openEuler/fish&distro=openEuler-22.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1-6.oe2203sp2

Ecosystem specific

{
    "src": [
        "fish-3.3.1-6.oe2203sp2.src.rpm"
    ],
    "x86_64": [
        "fish-3.3.1-6.oe2203sp2.x86_64.rpm",
        "fish-debugsource-3.3.1-6.oe2203sp2.x86_64.rpm",
        "fish-debuginfo-3.3.1-6.oe2203sp2.x86_64.rpm"
    ],
    "aarch64": [
        "fish-3.3.1-6.oe2203sp2.aarch64.rpm",
        "fish-debuginfo-3.3.1-6.oe2203sp2.aarch64.rpm",
        "fish-debugsource-3.3.1-6.oe2203sp2.aarch64.rpm"
    ]
}