UnAce: Buffer overflow and directory traversal vulnerabilities UnAce is vulnerable to several buffer overflow and directory traversal attacks. unace February 28, 2005 May 19, 2014: 2 81958 remote 2.5-r3 2.5-r3

UnAce is an utility to extract, view and test the contents of an ACE archive.

Ulf Harnhammar discovered that UnAce suffers from buffer overflows when testing, unpacking or listing specially crafted ACE archives (CAN-2005-0160). He also found out that UnAce is vulnerable to directory traversal attacks, if an archive contains “./..” sequences or absolute filenames (CAN-2005-0161).

An attacker could exploit the buffer overflows to execute malicious code or the directory traversals to overwrite arbitrary files.

There is no known workaround at this time.

All UnAce users should upgrade to the latest available version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/unace-2.5-r3"
CAN-2005-0160 CAN-2005-0161 system system system