CVE-2018-10860 Path traversal in perl-archive-zip

Medium 5.4 Published Updated

Attackers can exploit improper path sanitization in Archive::Zip to write or overwrite arbitrary files via crafted archives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-10860?

CVE-2018-10860 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 29 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

perl-archive-zip is vulnerable to a directory traversal in Archive::Zip. It was found that the Archive::Zip module did not properly sanitize paths while extracting zip files. 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.

Weakness: CWE-22

Which versions are affected by CVE-2018-10860?

It affects 3 products.

Linux distribution packages (6)
perl-Archive-Zip SUSE:Linux Enterprise Desktop 12 SP3All versions1.34-3.3.1
perl-Archive-Zip SUSE:Linux Enterprise Module for Basesystem 15All versions1.60-3.3.1
perl-Archive-Zip SUSE:Linux Enterprise Server 11 SP4All versions1.24-4.3.1
perl-Archive-Zip SUSE:Linux Enterprise Server 12 SP3All versions1.34-3.3.1
perl-Archive-Zip SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions1.24-4.3.1
perl-Archive-Zip SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.34-3.3.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Perl-Archive-Zip Project Perl-Archive-Zip.

How do I fix CVE-2018-10860?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-10860 being exploited?

There is no known exploitation of CVE-2018-10860 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-10860, DLA-1440-1, DSA-4300-1, GHSA-46vh-339r-h4rg, MGASA-2018-0311, SUSE-SU-2018:2385-1 and 4 more.

Is CVE-2018-10860 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free