Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.4

CVE-2015-2304: libarchive can let attackers write any file

CVE-2015-2304 · published 11 years ago
Summary

The libarchive library (used in Ubuntu Linux and openSUSE) lets a specially crafted archive specify full file paths, allowing a remote attacker to create or overwrite files anywhere on the system. This could let them install malicious code or tamper with important data. Update libarchive to the latest version or apply the vendor’s security patch to stop the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
libarchive libarchive <= 3.1.2
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:x64:*:*
canonical ubuntu_linux 12.04
14.04
14.10
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
opensuse opensuse 13.1
13.2
cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*
Original advisory text
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.
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
6.4 Medium
Exploitation
5% chance of attack within 30 days
Type
CWE-22Path Traversal
Timeline
Published15 Mar 2015
Updated1 Nov 2026
First seen29 Sep 2026
Sources
CVE-2015-2304 · NVD
Track software like this
Free during beta