GLSA 200804-06: UnZip: User-assisted execution of arbitrary code

Severity:normal
Title:UnZip: User-assisted execution of arbitrary code
Date:04/06/2008
Bugs: #213761
ID:200804-06

Synopsis

A double free vulnerability discovered in UnZip might lead to the execution of arbitrary code.

Background

Info-ZIP's UnZip is a tool to list and extract files inside PKZIP compressed files.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-arch/unzip < 5.52-r2 >= 5.52-r2 All supported architectures

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All UnZip users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/unzip-5.52-r2"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200804-06.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!