fzf fixes zsh completion vulnerability in version 0.74.5
- fzf
- zsh
- symlink attack
- arbitrary file overwrite
- TOCTOU

Versions through 0.74.4 were affected by the flaw
The issue allowed arbitrary file overwrites via shared temporary directories
The fix uses a private temporary directory with restricted permissions
The fzf maintainers fixed a vulnerability in the project’s zsh completion script in version 0.74.5. The GitHub security advisory says versions through 0.74.4 were affected.
The flaw was in the _fzf_feed_fifo function, which used a predictable path in the shared /tmp directory for a FIFO, a special file that passes data between processes. On a multi-user system, a local attacker could exploit the path to overwrite files writable by another user or expose the completion stream. The advisory classifies the issue as CWE-377 and CWE-59.
The fix uses a private temporary directory with restricted permissions. The advisory says the vulnerability could also lead to code execution under the affected user’s account.




