Joined: 13 Jun 2003
Location: Barcelona, Spain
|Posted: Tue Nov 09, 2004 9:16 pm Post subject: [ GLSA 200411-16 ] zip: Path name buffer overflow
|Gentoo Linux Security Advisory
Title: zip: Path name buffer overflow (GLSA 200411-16)
Date: November 09, 2004
Updated: May 22, 2006
zip contains a buffer overflow when creating a ZIP archive of files with very long path names. This could lead to the execution of arbitrary code.
zip is a compression and file packaging utility.
Vulnerable: <= 2.3-r3
Unaffected: >= 2.3-r4
Architectures: All supported architectures
zip does not check the resulting path length when doing recursive folder compression.
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.
There is no known workaround at this time.
All zip users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"
HexView zip Advisory
Last edited by GLSA on Tue May 23, 2006 4:18 am; edited 2 times in total