Description
fish before 2.1.1 allows local users to write to arbitrary files via a symlink attack on (1) /tmp/fishd.log.%s, (2) /tmp/.pac-cache.$USER, (3) /tmp/.yum-cache.$USER, or (4) /tmp/.rpm-cache.$USER.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fish | 2.1.1-1 | — |
| Debian 13 | fish | 2.1.1-1 | — |
| Debian 12 | fish | 2.1.1-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fish | 2.4.0-1.1 | openSUSE-SU-2024:10348-1 |
| openSUSE Leap 15.1 | fish3 | 3.0.0-lp151.2.1 | openSUSE-SU-2019:2188-1 |
| openSUSE Leap 15.0 | fish3 | 3.0.0-lp150.3.1 | openSUSE-SU-2019:2177-1 |
Advisories 3
- openSUSE-SU-2019:2177-1 Security update for fish3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2188-1 Security update for fish3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10348-1 fish-2.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201412-49 vendor-advisory
- FEDORA-2014-5783 vendor-advisory
- [oss-security] 20140928 Security release of fish shell 2.1.1 mailing-list
- https://github.com/fish-shell/fish-shell/commit/3225d7e169a9edb2f470c26989e7bc8e0d0355ce
- [oss-security] 20140506 Re: Upcoming security release of fish 2.1.1 mailing-list
- https://github.com/fish-shell/fish-shell/issues/1440
- https://bugzilla.redhat.com/show_bug.cgi?id=1092091
- 67115 vdb-entry
- openSUSE-SU-2019:2177 vendor-advisory
- openSUSE-SU-2019:2188 vendor-advisory