A double free vulnerability discovered in UnZip might lead to the execution of arbitrary code.
|Package||app-arch/unzip on all architectures|
|Affected versions||< 5.52-r2|
|Unaffected versions||>= 5.52-r2|
Info-ZIP's UnZip is a tool to list and extract files inside PKZIP compressed files.
Tavis Ormandy of the Google Security Team discovered that the NEEDBITS macro in the inflate_dynamic() function in the file inflate.c can be invoked using invalid buffers, which can lead to a double free.
Remote attackers could entice a user or automated system to open a specially crafted ZIP file that might lead to the execution of arbitrary code or a Denial of Service.
There is no known workaround at this time.
All UnZip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/unzip-5.52-r2"
April 06, 2008
April 06, 2008: 01