Path Traversal in GNU Tar

CVE-2005-1918

The original patch for a GNU tar directory traversal vulnerability (CVE-2002-0399) in Red Hat Enterprise Linux 3 and 2.1 uses an "incorrect optimization" that allows user-assisted attackers to overwrite arbitrary files via a crafted tar file, probably involving "/../" sequences with a leading "/".

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 2.6 (Low). Vector: AV:N/AC:H/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.029 (87.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2005-1918: held from 0.029 to 0.029.

EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2005-1918?
CVE-2005-1918 is a vulnerability in GNU Tar, classified under Path Traversal. Published 2005-12-31.
Is CVE-2005-1918 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.