CVE-2018-12015 json
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite…
published 2018-06-07 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-4007
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.3%
- EPSS 7.3% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.
Patch / fix
- apple mac_os_x 10.14.4
- perl Debian 14, Debian 13, Debian 12 5.26.2-6
debian advisories DEBIAN-CVE-2018-12015
- perl Ubuntu 14.04 LTS 5.18.2-2ubuntu1.6
- perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.5
- perl Ubuntu 18.04 LTS 5.26.1-6ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-12015
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl hummingbird 1 5.42.2-524.1.hum1
- perl-B hummingbird 1 1.89-524.1.hum1
- perl-if hummingbird 1 0.61.000-524.1.hum1
- perl-IO hummingbird 1 1.55-524.1.hum1
- perl-ph hummingbird 1 5.42.2-524.1.hum1
- perl-lib hummingbird 1 0.65-524.1.hum1
- perl-mro hummingbird 1 1.29-524.1.hum1
- perl-Net hummingbird 1 1.04-524.1.hum1
red hat advisories RHSA-2026:7604RHSA-2019:2097
- perl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +8 more 5.18.2-12.14.1
- perl SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 5.10.0-64.81.13.1
- perl SLE Module for Development Tools 15, SLE Module for Basesystem 15 5.26.1-7.3.1
suse advisories SUSE-SU-2018:1972-2SUSE-SU-2018:1992-1SUSE-SU-2018:1972-1SUSE-SU-2018:1977-1
- perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.26.2-r1
- perl Alpine 3.6, Alpine 3.5 5.24.4-r1
alpine advisories ALPINE-CVE-2018-12015
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12015 updated cvss 5.4
perl: Directory traversal in Archive::Tar
-
Red Hat Enterprise Linux 5 perl-Archive-Tar Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 moreaffected: no fix planned “Will not fix”
-
Red Hat Software Collections rh-perl520-perl-Archive-Tar, rh-perl524-perl-Archive-Tar, rh-perl526-perl-Archive-Taraffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux Client (v. 7) perl-Archive-Tar 1.92-3.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perl-Archive-Tar 1.92-3.el7 Red Hat Enterprise Linux Server (v. 7) perl-Archive-Tar 1.92-3.el7 Red Hat Enterprise Linux Workstation (v. 7) perl-Archive-Tar 1.92-3.el7fixed: vendor fix RHSA-2019:2097
-
Red Hat Hardened Images perl 5.42.2-524.1.hum1, perl-B 1.89-524.1.hum1, perl-IO 1.55-524.1.hum1, perl-Tie 4.6-524.1.hum1, perl-lib 0.65-524.1.hum1, perl-mro 1.29-524.1.hum1, +93 morefixed: vendor fix RHSA-2026:7604
-
Red Hat Enterprise Linux 8 perl-Archive-Tar Red Hat Software Collections rh-perl530-perl-Archive-Tarnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.31% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900834 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
security.netapp.com
/advisory/ntap-20180927-0001/
patch, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=900834
exploit, mailing-list, third-party-advisory
-
debian.org
/security/2018/dsa-4226
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3684-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3684-2/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2097
vendor-advisory
-
securityfocus.com
/bid/104423
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1041048
vdb-entry, third-party-advisory
-
seclists.org
/bugtraq/2019/Mar/42
mailing-list, third-party-advisory
-
seclists.org
/fulldisclosure/2019/Mar/49
mailing-list, third-party-advisory
- oracle.com /security-alerts/cpujul2020.html
-
support.apple.com
/kb/HT209600
third-party-advisory
Sources
- CVE List CVE-2018-12015
- NVD CVE-2018-12015
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.