Description
apertium 3.0.7 allows local users to overwrite arbitrary files via a symlink attack on (a) /tmp/#####.lex.cc, (b) /tmp/#####.deformat.l, (c) /tmp/#####.reformat.l, (d) /tmp/#####docxorig, (e) /tmp/#####docxsalida.zip, (f) /tmp/#####xlsxembed, (g) /tmp/#####xlsxorig, and (h) /tmp/#####xslxsalida.zip temporary files, related to the (1) apertium-gen-deformat, (2) apertium-gen-reformat, and (3) apertium scripts.
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 | apertium | 3.0.7+1-1.1 | — |
| Debian 13 | apertium | 3.0.7+1-1.1 | — |
| Debian 12 | apertium | 3.0.7+1-1.1 | — |
References
- [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire mailing-list
- https://bugs.gentoo.org/show_bug.cgi?id=235770
- apertium-multiple-symlink(44854) vdb-entry
- http://bugs.debian.org/496395
- http://dev.gentoo.org/~rbu/security/debiantemp/apertium
- 30896 vdb-entry
- http://uvw.ru/report.lenny.txt