Description
scratchbox2 1.99.0.24 allows local users to overwrite arbitrary files via a symlink attack on (a) /tmp/dpkg.#####.tmp, (b) /tmp/missing_deps.#####, and (c) /tmp/sb2-pkg-chk.$tstamp.##### temporary files, related to the (1) dpkg-checkbuilddeps and (2) sb2-check-pkg-mappings scripts.
References
- [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire mailing-list
- http://bugs.debian.org/496409
- https://bugs.gentoo.org/show_bug.cgi?id=235770
- http://uvw.ru/report.lenny.txt
- scratchbox2-sb2checkpkgmappings-symlink(44907) vdb-entry
- 30969 vdb-entry
- http://dev.gentoo.org/~rbu/security/debiantemp/scratchbox2