Description
mafft-homologs in mafft 6.240 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/_vf#?????, (2) /tmp/_if#?????, (3) /tmp/_pf#?????, (4) /tmp/_af#?????, (5) /tmp/_rid#?????, (6) /tmp/_res#?????, (7) /tmp/_q#?????, and (8) /tmp/_bf#????? temporary files.
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 | mafft | 6.240-2 | — |
| Debian 13 | mafft | 6.240-2 | — |
| Debian 12 | mafft | 6.240-2 | — |
References
- https://bugs.gentoo.org/show_bug.cgi?id=235804
- [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire mailing-list
- 30915 vdb-entry
- https://bugs.gentoo.org/show_bug.cgi?id=235770
- http://uvw.ru/report.lenny.txt
- http://dev.gentoo.org/~rbu/security/debiantemp/mafft
- http://bugs.debian.org/496366
- mafft-maffthomologs-symlink(44825) vdb-entry