[ GLSA 200704-05 ] zziplib: Buffer Overflow



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200704-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: zziplib: Buffer Overflow
Date: April 03, 2007
Bugs: #171441
ID: 200704-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The zziplib library contains a buffer overflow vulnerability that could
lead to user-assisted remote execution of arbitrary code.

Background
==========

The zziplib library is a lightweight library for extracting data from
files archived in a single zip file.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-libs/zziplib < 0.13.49 >= 0.13.49

Description
===========

dmcox dmcox discovered a boundary error in the zzip_open_shared_io()
function from zzip/file.c .

Impact
======

A remote attacker could entice a user to run a zziplib function with an
overly long string as an argument which would trigger the buffer
overflow and may lead to the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All zziplib users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/zziplib-0.13.49"

References
==========

[ 1 ] CVE-2007-1614
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1614

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

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

http://security.gentoo.org/glsa/glsa-200704-05.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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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.5

Attachment: pgpL3xizAZoaB.pgp
Description: PGP signature