GLSA-200804-06 : UnZip: User-assisted execution of arbitrary code
High Nessus Plugin ID 31837
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200804-06 (UnZip: User-assisted execution of arbitrary code)
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.
SolutionAll UnZip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/unzip-5.52-r2'