GLSA 200603-05: zoo: Stack-based buffer overflow

Severity:normal
Title:zoo: Stack-based buffer overflow
Date:03/06/2006
Bugs: #123782
ID:200603-05

Synopsis

A stack-based buffer overflow in zoo may be exploited to execute arbitrary code through malicious ZOO archives.

Background

zoo is a file archiving utility for maintaining collections of files, written by Rahul Dhesi.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-arch/zoo < 2.10-r1 >= 2.10-r1 All supported architectures

Description

Jean-Sebastien Guay-Leroux discovered a boundary error in the fullpath() function in misc.c when processing overly long file and directory names in ZOO archives.

Impact

An attacker could craft a malicious ZOO archive and entice someone to open it using zoo. This would trigger a stack-based buffer overflow and potentially allow execution of arbitrary code with the rights of the victim user.

Workaround

There is no known workaround at this time.

Resolution

All zoo users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/zoo-2.10-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200603-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!