Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201702-32 ] Ruby Archive::Tar::Minitar: Directory traversal
Date: Wed, 22 Feb 2017 11:26:46
Message-Id: 10cd33fc-94be-4ea4-9437-1d83afe2841f@gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201702-32
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Ruby Archive::Tar::Minitar: Directory traversal
     Date: February 22, 2017
     Bugs: #607110
       ID: 201702-32

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Ruby Archive::Tar::Minitar is vulnerable to a directory traversal
attack.

Background
==========

Archive::Tar::Minitar is a pure-Ruby library and command-line utility
that provides the ability to deal with POSIX tar(1) archive files.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-ruby/archive-tar-minitar
                                  < 0.6.1                    >= 0.6.1

Description
===========

Michal Marek discovered that Ruby Archive::Tar::Minitar is vulnerable
to a directory traversal vulnerability.

Impact
======

A remote attacker could entice a user or an automated system to process
a specially crafted archive using Ruby Archive::Tar::Minitar possibly
allowing the writing of arbitrary files with the privileges of the
process.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

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

  # emerge --sync
  # emerge --ask --oneshot -v ">=dev-ruby/archive-tar-minitar-0.6.1"

References
==========

[ 1 ] CVE-2016-10173
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-10173

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201702-32

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@g.o or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2017 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.

http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature