Gentoo Logo

zoo: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200603-12 / zoo
Release Date March 16, 2006
Latest Revision March 16, 2006: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/zoo < 2.10-r2 >= 2.10-r2 All supported architectures

Related bugreports: #125622


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

2.  Impact Information


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


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.


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.

3.  Resolution Information


There is no known workaround at this time.


All zoo users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated March 16, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.