Description
dist 3.5 allows local users to overwrite arbitrary files via a symlink attack on (a) /tmp/cil#####, (b) /tmp/pdo#####, and (c) /tmp/pdn##### temporary files, related to the (1) patcil and (2) patdiff 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 | dist | 1:3.5-17-2 | — |
| Debian 13 | dist | 1:3.5-17-2 | — |
| Debian 12 | dist | 1:3.5-17-2 | — |
References
- [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire mailing-list
- 30908 vdb-entry
- https://bugs.gentoo.org/show_bug.cgi?id=235770
- http://bugs.debian.org/496412
- http://uvw.ru/report.lenny.txt
- http://dev.gentoo.org/~rbu/security/debiantemp/dist
- dist-file-symlink(44818) vdb-entry