GLSA 200812-10: Archive::Tar: Directory traversal vulnerability

Severity:normal
Title:Archive::Tar: Directory traversal vulnerability
Date:12/10/2008
Bugs: #192989
ID:200812-10

Synopsis

A directory traversal vulnerability has been discovered in Archive::Tar.

Background

Archive::Tar is a Perl module for creation and manipulation of tar files.

Affected packages

Package Vulnerable Unaffected Architecture(s)
perl-core/Archive-Tar < 1.40 >= 1.40 All supported architectures

Description

Jonathan Smith of rPath reported that Archive::Tar does not check for ".." in file names.

Impact

A remote attacker could entice a user or automated system to extract a specially crafted tar archive, overwriting files at arbitrary locations outside of the specified directory.

Workaround

There is no known workaround at this time.

Resolution

All Archive::Tar users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=perl-core/Archive-Tar-1.40"

References

Availability

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