GLSA 200711-18: Cpio: Buffer overflow

Severity:normal
Title:Cpio: Buffer overflow
Date:11/14/2007
Bugs: #196978
ID:200711-18

Synopsis

GNU cpio contains a buffer overflow vulnerability, possibly resulting in a Denial of Service.

Background

GNU cpio copies files into or out of a cpio or tar archive.

Affected packages

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

Description

A buffer overflow vulnerability in the safer_name_suffix() function in GNU cpio has been discovered.

Impact

A remote attacker could entice a user to open a specially crafted archive file resulting in a stack-based buffer overflow, possibly crashing the application. It is disputed whether the execution of arbitrary code is possible.

Workaround

There is no known workaround at this time.

Resolution

All GNU cpio users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/cpio-2.9-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-200711-18.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!