PKZip Tar Hostile Destination Path Vulnerability

BID:6419

Info

PKZip Tar Hostile Destination Path Vulnerability

Bugtraq ID: 6419
Class: Access Validation Error
CVE:
Remote: Yes
Local: No
Published: Dec 17 2002 12:00AM
Updated: Dec 17 2002 12:00AM
Credit: Discovery of this issue is credited to Florian Schafferhans <[email protected]>.
Vulnerable: PKWare PKZip 5.0 0.01
PKWare PKZip 5.0
Not Vulnerable:

Discussion

PKZip Tar Hostile Destination Path Vulnerability

PKZip is prone to a security vulnerability when unpacking .tar archives. The problem is in the handling of pathnames.

By specifying a path for an archived item which points outside the expected directory scope, the creator of the archive can cause the file to be extracted to arbitrary locations on the filesystem. An attacker may take advantage of this vulnerability to cause malicious files to be placed anywhere on a target filesystem.

This issue was reported in PKZip for Microsoft Windows platforms. It is not known if other platforms are also affected.

Exploit / POC

PKZip Tar Hostile Destination Path Vulnerability

No exploit is required.

Solution / Fix

PKZip Tar Hostile Destination Path Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

PKZip Tar Hostile Destination Path Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report