CVE Database›Document archive›CVE-2018-12015

CVE-2018-12015

perl: Directory traversal in Archive::Tar

Loading…

Severity

Moderate

Red Hat Product Security

5.4

CVSS 3.0

Review impact separately from score.

Published · June 7, 2018

Updated · April 21, 2026

Description

It was found that the Archive::Tar module did not properly sanitize symbolic links when extracting tar archives. An attacker, able to provide a specially crafted archive for processing, could use this flaw to write or overwrite arbitrary files in the context of the Perl interpreter.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 5.4
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')