zip: Path name buffer overflow
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200411-16 / zip |
| Release Date |
November 09, 2004 |
| Latest Revision |
May 22, 2006: 02 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| app-arch/zip |
<=
2.3-r3 |
>=
2.3-r4 |
All supported architectures
|
Related bugreports:
#70227
Synopsis
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.
2.
Impact Information
Background
zip is a compression and file packaging utility.
Description
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All zip users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"
|
4.
References
|