Mailing List Archive

[ GLSA 202309-10 ] Fish: User-assisted execution of arbitrary code
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202309-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Fish: User-assisted execution of arbitrary code
Date: September 29, 2023
Bugs: #835337
ID: 202309-10

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability was discovered in Fish when handling git repository
configuration that may lead to execution of arbitrary code

Background
==========

Smart and user-friendly command line shell for macOS, Linux, and the
rest of the family. It includes features like syntax highlighting,
autosuggest-as-you-type, and fancy tab completions that just work, with
no configuration required.

Affected packages
=================

Package Vulnerable Unaffected
--------------- ------------ ------------
app-shells/fish < 3.4.0 >= 3.4.0

Description
===========

A vulnerability have been discovered in Fish. Please review the CVE
identifiers referenced below for details.

Impact
======

A user may be enticed to cd into a git repository under control by an
attacker (e.g. on a shared filesystem or by unpacking an archive) and
execute arbitrary commands.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All fish users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-shells/fish-3.4.0"

References
==========

[ 1 ] CVE-2022-20001
https://nvd.nist.gov/vuln/detail/CVE-2022-20001

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202309-10

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2023 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5