CVE-2015-2304 json
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a…
published 11y ago modified 4mo ago also EUVD-2015-2401
- cvss
- 6.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libarchive Debian 14, Debian 13, Debian 12 3.1.2-11
debian advisories DEBIAN-CVE-2015-2304
- libarchive Ubuntu 14.04 LTS 3.1.2-7ubuntu2.1
ubuntu advisories UBUNTU-CVE-2015-2304
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libarchive SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 3.1.2-25.1
- bsdtar Studio Onsite 1.3, SLES for SAP 11 SP4, SLES 11 SP4 +8 more 2.5.5-9.1
- libarchive SLES for SAP 12, SLES 12, SLED 12 +1 more 3.1.2-9.1
suse advisories SUSE-SU-2016:2911-1SUSE-SU-2016:1939-1SUSE-SU-2015:0667-1
- bsdtar openSUSE Tumbleweed 3.2.2-2.1
opensuse advisories openSUSE-SU-2024:10127-1
- github.com/libarchive/libarchive@5935715 commit
- github.com/libarchive/libarchive#110 pull request
Is CVE-2015-2304 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-2304 updated cvss 2.6
libarchive: directory traversal in bsdcpio
-
Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchiveaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.93% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2015/01/07/5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- github.com /libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
- github.com /libarchive/libarchive/pull/110
-
openwall.com
/lists/oss-security/2015/01/07/5
mailing-list, exploit
-
lists.opensuse.org
/opensuse-updates/2015-03/msg00065.html
vendor-advisory
-
freebsd.org
/security/advisories/FreeBSD-SA-16:22.libarchive.asc
vendor-advisory
-
debian.org
/security/2015/dsa-3180
vendor-advisory
-
ubuntu.com
/usn/USN-2549-1
vendor-advisory
-
security.gentoo.org
/glsa/201701-03
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:157
vendor-advisory
-
securitytracker.com
/id/1035996
vdb-entry
- advisories.mageia.org /MGASA-2015-0106.html
-
openwall.com
/lists/oss-security/2015/01/16/7
mailing-list
- groups.google.com /forum/#%21msg/libarchive-discuss/dN9y1VvE1Qk/Z9uerigjQn0J
Sources
- CVE List CVE-2015-2304
- NVD CVE-2015-2304
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.