CVE-2023-49284

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-49284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-49284
Related
Published
2023-12-05T00:15:08Z
Modified
2025-01-15T05:02:12.656389Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:11 / fish

Package

Name
fish
Purl
pkg:deb/debian/fish?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.2-3
3.1.2-3+deb11u1
3.3.1+ds-1
3.3.1+ds-2
3.3.1+ds-3
3.4.0+ds-1
3.4.1+ds-1~bpo11+1
3.4.1+ds-1
3.5.0+ds-1
3.5.1+ds-1~bpo11+1
3.5.1+ds-1
3.5.1+ds-2
3.6.0-1
3.6.0-2~bpo11+1
3.6.0-2
3.6.0-3
3.6.0-3.1
3.6.1-1
3.6.4-1
3.7.0-1
3.7.1-1

4.*

4.0~b1-1~exp1
4.0~b1-1~exp2
4.0~b1-1~exp3
4.0~b1-1~exp4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / fish

Package

Name
fish
Purl
pkg:deb/debian/fish?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.0-3.1+deb12u1

Affected versions

3.*

3.6.0-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / fish

Package

Name
fish
Purl
pkg:deb/debian/fish?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.4-1

Affected versions

3.*

3.6.0-3.1
3.6.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/fish-shell/fish-shell

Affected ranges

Type
GIT
Repo
https://github.com/fish-shell/fish-shell
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

1.*

1.16.0
1.16.1
1.16.2
1.17.0
1.18.0
1.18.1
1.19.0
1.20.0
1.20.1
1.20.2
1.21.0
1.21.10
1.21.11
1.21.12
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
1.21.9
1.22.0
1.22.1
1.22.3
1.23.0
1.23.1

2.*

2.0.0
2.1.0
2.1.1
2.1.2
2.2.0
2.2b1
2.3.0
2.3.1
2.3b1
2.3b2
2.4.0
2.4b1
2.5.0
2.5b1
2.6.0
2.6b1
2.7.0
2.7.1
2.7b1

3.*

3.0.0
3.0.1
3.0.2
3.0b1
3.1.0
3.1.1
3.1.2
3.1b1
3.2.0
3.2.1
3.2.2
3.3.0
3.3.1
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.6.1

Other

LastC++03
OpenBeta_r1
OpenBeta_r2
last_autotools
last_doxygen
official
pre_ast_parser
pre_fishfish
pre_whitespace_fix