Distro advisory · Debian 3.0
cpio - several
Description
Vulnerability : several Problem type : local (remote) Debian-specific: no CVE ID : CAN-2005-1111 CAN-2005-1229 Debian Bug : 306693 305372
Two vulnerabilities have been discovered in cpio, a program to manage archives of files. The Common Vulnerabilities and Exposures project identifies the following problems:
CAN-2005-1111
Imran Ghory discovered a race condition in setting the file
permissions of files extracted from cpio archives. A local
attacker with write access to the target directory could exploit
this to alter the permissions of arbitrary files the extracting
user has write permissions for.
CAN-2005-1229
Imran Ghory discovered that cpio does not sanitise the path of
extracted files even if the --no-absolute-filenames option was
specified. This can be exploited to install files in arbitrary
locations where the extracting user has write permissions to.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade cpiodpkg -s cpio | grep VersionSources