CVEfocus › CVE database › CVE-2018-12015

CVE-2018-12015

CVSS 7.5 HighEPSS 7.2% (higher than 94% of CVEs)Published 2018-06-07Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
47Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04perlFixed5.26.1-6ubuntu0.1UBUNTU-CVE-2018-12015
Ubuntu 16.04perlFixed5.22.1-9ubuntu0.5UBUNTU-CVE-2018-12015
Ubuntu 14.04perlFixed5.18.2-2ubuntu1.6UBUNTU-CVE-2018-12015
Debian 14perlFixed5.26.2-6DEBIAN-CVE-2018-12015
Debian 13perlFixed5.26.2-6DEBIAN-CVE-2018-12015
Debian 12perlFixed5.26.2-6DEBIAN-CVE-2018-12015
Red Hat Enterprise Linux 8perl-Archive-TarNot affected
Red Hat Enterprise Linux 7perl-Archive-TarFixed0:1.92-3.el7RHSA-2019:2097
Red Hat Enterprise Linux 6perlWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Archive-ExtractWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Archive-TarWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CGIWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CPANWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CPANPLUSWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-Raw-Bzip2Will not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-Raw-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Digest-SHAWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-CBuilderWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-EmbedWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-MakeMakerWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-ParseXSWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-File-FetchWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-BaseWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-Bzip2Will not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IPC-CmdWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Locale-Maketext-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Log-MessageWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Log-Message-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-BuildWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-CoreListWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-LoadWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-Load-ConditionalWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-LoadedWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-PluggableWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Object-AccessorWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Package-ConstantsWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Params-CheckWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Parse-CPAN-MetaWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Pod-EscapesWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Pod-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Term-UIWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Test-HarnessWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Test-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Time-HiResWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Time-PieceWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-coreWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-develWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-parentWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-suidperlWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-versionWill not fix
Will not fix
Red Hat Enterprise Linux 5perl-Archive-TarWill not fix
Will not fix
Alpine Linux 3.24perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.23perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.22perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.21perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.20perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.19perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.18perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.17perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.16perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.15perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.14perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.13perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.12perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.11perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.10perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.9perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.8perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.7perlFixed5.26.2-r1ALPINE-CVE-2018-12015
Alpine Linux 3.6perlFixed5.24.4-r1ALPINE-CVE-2018-12015
Alpine Linux 3.5perlFixed5.24.4-r1ALPINE-CVE-2018-12015

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.