GLSA-201203-23 : libzip: Multiple vulnerabilities

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201203-23
(libzip: Multiple vulnerabilities)

Two vulnerabilities have been found in the '_zip_readcdir()' function in
zip_open.c of libzip:
An incorrect loop construct, which could cause a heap-based buffer
overflow (CVE-2012-1162).
An integer overflow, which may not restrict operations within the
memory buffer (CVE-2012-1163).

Impact :

A remote attacker could entice a user to open a specially crafted ZIP
file, possibly resulting in execution of arbitrary code with the
privileges of the process, a Denial of Service condition, or information
leaks.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml

Solution :

All libzip users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-libs/libzip-0.10.1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.5
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 59615 ()

Bugtraq ID: 52658

CVE ID: CVE-2012-1162
CVE-2012-1163