Distro advisory · Debian 3.0
unarj
Description
Vulnerability : several Problem-Type : local (remote) Debian-specific: no CVE ID : CAN-2004-0947 CAN-2004-1027 Debian Bug : 281922
Several vulnerabilities have been discovered in unarj, a non-free ARJ unarchive utility. The Common Vulnerabilities and Exposures Project identifies the following vulnerabilities:
CAN-2004-0947
A buffer overflow has been discovered when handling long file
names contained in an archive. An attacker could create a
specially crafted archive which could cause unarj to crash or
possibly execute arbitrary code when being extracted by a victim.
CAN-2004-1027
A directory traversal vulnerability has been found so that an
attacker could create a specially crafted archive which would
create files in the parent directory when being extracted by a
victim. When used recursively, this vulnerability could be used
to overwrite critical system files and programs.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade unarjdpkg -s unarj | grep VersionSources