eEye Digital Security eEye Digital Security
  • Login to the eEye Business Client Portal
  • Shop for eEye Products
  • Read the eEye Blog
  • Subscribe to eEye RSS Feeds
  • Follow eEye on Twitter
  • Follow eEye of Facebook

Research > Zero-Day Tracker > 20131001

libtar Directory Traversal Vulnerabilities

Date Disclosed:

Date Patched:
No patch available.


Affected Software:
libtar 1.2.20 and prior

The two functions, "tar_extract_glob()" and "tar_extract_all()", do not properly verify path prefixes, which could allow an attacker to create a malicious archive that would overwrite existing files upon extraction, potentially leading to system compromise.


Code Execution:


Directory Traversal/File Overwrite
This vulnerability allows an attacker to use file path prefixes to extract files in an archive to overwrite other files on the system upon extraction. This could be used to overwrite targeted files, leading to system compromise.

No mitigation is currently available.

BeyondTrust's Retina® Network Security Scanner scans devices to detect for this vulnerability.

  • 31011 - libtar Directory Traversal Vulnerabilities (20131011) (Zero-Day)


2013-10-01: Original Disclosure

Copyright ©1998-2011 eEye Digital Security
Permission is hereby granted for the redistribution of this alert electronically. It is not to be edited in any way without express consent of eEye. If you wish to reprint the whole or any part of this alert in any other medium excluding electronic medium, please email for permission.

The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are no warranties, implied or express, with regard to this information. In no event shall the author be liable for any direct or indirect damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk.

Next Steps

Free Trial
Test drive an eEye product
On-demand Demo
See an online product tour
One-on-one Demo
Schedule a personalized tour
Compare Products
See side-by-side features
Buy Now
Go to eEye product store
Contact | Site Map | Privacy | Website Feedback | 1.866.339.3732
© 1998 – 2012 eEye Digital Security. All rights reserved.