Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200411-16 ] zip: Path name buffer overflow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Tue Nov 09, 2004 9:16 pm    Post subject: [ GLSA 200411-16 ] zip: Path name buffer overflow Reply with quote

Gentoo Linux Security Advisory

Title: zip: Path name buffer overflow (GLSA 200411-16)
Severity: normal
Exploitable: remote
Date: November 09, 2004
Updated: May 22, 2006
Bug(s): #70227
ID: 200411-16

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.

Background

zip is a compression and file packaging utility.

Affected Packages

Package: app-arch/zip
Vulnerable: <= 2.3-r3
Unaffected: >= 2.3-r4
Architectures: All supported architectures


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.

Workaround

There is no known workaround at this time.

Resolution

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


References

HexView zip Advisory
CVE-2004-1010


Last edited by GLSA on Tue May 23, 2006 4:18 am; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum