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

critical Nessus Plugin ID 15691

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.

Solution

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

See Also

http://www.hexview.com/docs/20041103-1.txt

https://security.gentoo.org/glsa/200411-16

Plugin Details

Severity: Critical

ID: 15691

File Name: gentoo_GLSA-200411-16.nasl

Version: 1.18

Type: local

Published: 11/13/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:zip, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/9/2004

Vulnerability Publication Date: 11/3/2004

Reference Information

CVE: CVE-2004-1010

GLSA: 200411-16