GLSA 200603-12: zoo: Buffer overflow

Severity:normal
Title:zoo: Buffer overflow
Date:03/16/2006
Bugs: #125622
ID:200603-12

Synopsis

A buffer overflow in zoo may be exploited to execute arbitrary when creating archives of specially crafted directories and files.

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-r2 >= 2.10-r2 All supported architectures

Description

zoo is vulnerable to a new buffer overflow due to insecure use of the strcpy() function when trying to create an archive from certain directories or filenames.

Impact

An attacker could exploit this issue by enticing a user to create a zoo archive of specially crafted directories and filenames, possibly leading to the execution of arbitrary code with the rights of the user running zoo.

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-r2"

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-12.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!