unp allows execution of arbitrary code via malicious file names.
|Package||app-arch/unp on all architectures|
|Affected versions||< 1.0.14|
|Unaffected versions||>= 1.0.14|
unp is a script for unpacking various file formats.
Erich Schubert from Debian discovered that unp does not escape file names properly before passing them to calls of the shell.
A remote attacker could entice a user or automated system to unpack a compressed archive with a specially crafted file name, leading to the execution of shell commands from within the filename. That code will be executed with the privileges of the user running unp.
There is no known workaround at this time.
All unp users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/unp-1.0.14"
January 09, 2008
January 09, 2008: 01