CVE-2018-12015: High severity Apple macOS Mojave vulnerability

Published Jun 5, 2018
·
Updated

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.

Other sources

Perl. Multiple issues in Perl were addressed in this update.

Credit

Jakub Wilk, Jayakrishna Menon, Eiichi Tsukata

Affected Software

20 affected componentsFixes available
redhat/perl-archive-tar<2.28
2.28
debian/perl<=5.26.2-5, <=5.24.1-1, <=5.28.0~rc2-1, <=5.20.2-1
5.26.2-65.20.2-3+deb8u115.24.1-3+deb9u45.28.0-1
Apple macOS Mojave<10.14.4
10.14.4
Apple High Sierra
Apple Sierra
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Perl Perl<=5.26.2
Archive\ \<=2.28
Apple iOS and macOS<10.14.4
NetApp Data Ontap Edge
NetApp OnCommand Workflow Automation
NetApp Snap Creator Framework
NetApp Snapdrive Unix
debian/perl
5.32.1-4+deb11u35.32.1-4+deb11u45.36.0-7+deb12u35.36.0-7+deb12u25.40.1-65.40.1-7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/perl-Archive-Tar to a version that resolves this vulnerability.

    Fixed in 2.28
  2. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.26.2-6Fixed in 5.20.2-3+deb8u11Fixed in 5.24.1-3+deb9u4Fixed in 5.28.0-1
  3. Upgrade

    Upgrade macOS Mojave to a version that resolves this vulnerability.

    Fixed in 10.14.4
  4. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.32.1-4+deb11u3Fixed in 5.32.1-4+deb11u4Fixed in 5.36.0-7+deb12u3Fixed in 5.36.0-7+deb12u2Fixed in 5.40.1-6Fixed in 5.40.1-7

Event History

Jun 5, 2018
Data Sourced
05:06 PM
SeverityAffected Software
Jun 7, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescription
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
Description
Jun 26, 2018
Data Sourced
via Debian·08:18 AM
SeverityAffected Software
Aug 24, 2020
Data Sourced
05:37 PM
Weakness
Data Sourced
via NVD·05:37 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
05:37 PM
Affected Software
Sep 7, 2023
Data Sourced
via Red Hat·07:11 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·03:44 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this Perl vulnerability?

The vulnerability ID for this Perl vulnerability is CVE-2018-12015.

2

How does the vulnerability affect Perl?

The vulnerability allows remote attackers to bypass a directory-traversal protection mechanism and overwrite arbitrary files.

3

Which software versions are affected by this vulnerability?

The affected software versions include Perl through 5.26.2 and Archive::Tar up to version 2.28.

4

What is the severity level of this vulnerability?

The severity level of this vulnerability is high, with a CVSS score of 7.5.

5

Where can I find more information about this vulnerability?

You can find more information about this vulnerability at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203