UBUNTU-CVE-2023-49284

Source
https://ubuntu.com/security/CVE-2023-49284
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-49284.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-49284
Related
Published
2023-12-05T00:15:00Z
Modified
2025-04-23T15:06:46Z
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

Ubuntu:Pro:16.04:LTS / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@2.2.0-3?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

2.2.0-2
2.2.0-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@2.7.1-3?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.6.0-1
2.6.0-2
2.7.0-1
2.7.1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@3.1.0-1.2?arch=source&distro=focal

Affected ranges

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

Affected versions

3.*

3.0.2-2
3.1.0-1
3.1.0-1.1
3.1.0-1.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@3.3.1+ds-3?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.1.2-3ubuntu1
3.3.1+ds-2
3.3.1+ds-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@3.7.1-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

3.*

3.7.0-1
3.7.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@3.7.0-1?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*

3.6.1-1
3.6.4-1
3.7.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / fish

Package

Name
fish
Purl
pkg:deb/ubuntu/fish@4.0.1-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

3.*

3.7.1-1
3.7.1-2

4.*

4.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}