Distro advisory · Debian 3.0
mime-support - insecure temporary file creation
Description
Vulnerability : insecure temporary file creation Problem-Type : local Debian-specific: no
Colin Phipps discovered several problems in mime-support, that contains support programs for the MIME control files 'mime.types' and 'mailcap'. When a temporary file is to be used it is created insecurely, allowing an attacker to overwrite arbitrary under the user id of the person executing run-mailcap, most probably root. Additionally the program did not properly escape shell escape characters when executing a command. This is unlikely to be exploitable, though.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade mime-supportdpkg -s mime-support | grep VersionSources