portage-ng / portage / app-arch / unp / 2.0
portage-ng glsa
1 advisory reference app-arch/unp · none place version 2.0 in a vulnerable range
▸ GLSA 200801-01 unp: Arbitrary command execution this version unaffected normal remote 2008-01-09

unp allows execution of arbitrary code via malicious file names.

Announced
2008-01-09
Revised
2008-01-09
Access
remote
Bugs
#203106
Advisory
https://security.gentoo.org/glsa/200801-01

Affected packages

PackageArchVulnerableUnaffected
app-arch/unp*< 1.0.14>= 1.0.14

Background

unp is a script for unpacking various file formats.

Description

Erich Schubert from Debian discovered that unp does not escape file names properly before passing them to calls of the shell.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All unp users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/unp-1.0.14"

References