GLSA 200704-05: zziplib: Buffer Overflow

Severity:normal
Title:zziplib: Buffer Overflow
Date:04/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 Architecture(s)
dev-libs/zziplib < 0.13.49 >= 0.13.49 All supported architectures

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

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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!