Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: [ GLSA 200411-16 ] zip: Path name buffer overflow

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

From: Sune Kloppenborg Jeppesen <jaervosz_at_gentoo.org>
Date: Tue, 9 Nov 2004 20:46:11 +0100

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200411-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: zip: Path name buffer overflow
      Date: November 09, 2004
      Bugs: #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 / Vulnerable / Unaffected
    -------------------------------------------------------------------
  1 app-arch/zip <= 2.3-r3 >= 2.3-r4

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:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"

References
==========

  [ 1 ] HexView zip Advisory
        http://www.hexview.com/docs/20041103-1.txt

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200411-16.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security_at_gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

  • application/pgp-signature attachment: stored
Received on Nov 10 2004
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]