CVE-2015-2304 Path traversal in n/a

Medium 6.4 Published Updated

Remote attackers can write arbitrary files via path traversal in bsdcpio when processing malicious archives, requiring user interaction to open the file.

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-2015-2304?

CVE-2015-2304 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 15 Mar 2015. 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

Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.

Weakness: CWE-22

Which versions are affected by CVE-2015-2304?

It affects 3 products.

Products include Canonical Ubuntu Linux, Libarchive Libarchive, Opensuse Opensuse.

How do I fix CVE-2015-2304?

Upgrade to a fixed version.

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

Is CVE-2015-2304 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-2304, DLA-166-1, DSA-3180-1, GHSA-fg4c-3cxq-4rf3, UBUNTU-CVE-2015-2304.

Is CVE-2015-2304 in your software?

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

Check your SBOMs for free