CVE-2023-49284
published low CVSS 3.1 · 3.9Command substitution output can trigger shell expansion in fish shell
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fish-shell | — | fish-shell< 3.6.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fishaarch64 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fishi586 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fishppc64le | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fishs390x | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fishx86_64 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fish-develaarch64 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fish-develi586 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.4 | fish-develppc64le | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fish-devels390x | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | fish-develx86_64 | Advisory build | 3.3.1-bp154.3.3.1 | OPENSUSE-SU-2023:0404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fishaarch64 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fishi586 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fishppc64le | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fishs390x | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fishx86_64 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fish-develaarch64 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fish-develi586 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fish-develppc64le | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fish-devels390x | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | fish-develx86_64 | Advisory build | 3.3.1-bp155.4.3.1 | OPENSUSE-SU-2023:0405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fishaarch64 | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fishppc64le | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fishs390x | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fishx86_64 | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fish-develaarch64 | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fish-develppc64le | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fish-devels390x | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fish-develx86_64 | Advisory build | 3.6.4-1.1 | OPENSUSE-SU-2024:13501-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fish-shell | fish-shell | < 3.6.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
3Provider assertions
2GitHub_M · cna
Command substitution output can trigger shell expansion in fish shell
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9efd8c2ecc016416d813c3335582b87c145b81585ce4a4b174d4f5b3301e9065
- Ingested
- 23 Sep 2026, 08:13:25 UTC
- Source record
- Official CVE record