GLSA-200411-16 : zip: Path name buffer overflow

This script is Copyright (C) 2004-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-200411-16
(zip: Path name buffer overflow)

zip does not check the resulting path length when doing recursive
folder compression.

Impact :

An attacker could exploit this by enticing another user or web
application to create an archive including a specially-crafted path
name, potentially resulting in the execution of arbitrary code with the
permissions of the user running zip.

Workaround :

There is no known workaround at this time.

See also :

http://www.hexview.com/docs/20041103-1.txt
http://www.gentoo.org/security/en/glsa/glsa-200411-16.xml

Solution :

All zip users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-arch/zip-2.3-r4'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15691 (gentoo_GLSA-200411-16.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1010