CVE-2015-2304
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.9% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.9% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Libarchive ≤ 3.1.2
- Canonical Ubuntu Linux 12.04
- Canonical Ubuntu Linux 14.04
- Canonical Ubuntu Linux 14.10
- Opensuse 13.1
- Opensuse 13.2
Attack profile CVSS 2.0 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-2304.md and follow it. Check whether this project is affected by CVE-2015-2304. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
- https://github.com/libarchive/libarchive/pull/110
- https://github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
- https://github.com/libarchive/libarchive/pull/110
References
- http://advisories.mageia.org/MGASA-2015-0106.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00065.html
- http://www.debian.org/security/2015/dsa-3180
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:157
- http://www.openwall.com/lists/oss-security/2015/01/07/5
- http://www.openwall.com/lists/oss-security/2015/01/16/7
- http://www.securitytracker.com/id/1035996
- http://www.ubuntu.com/usn/USN-2549-1
- https://github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
- https://github.com/libarchive/libarchive/pull/110
- https://groups.google.com/forum/#%21msg/libarchive-discuss/dN9y1VvE1Qk/Z9uerigjQn0J
- https://security.gentoo.org/glsa/201701-03
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:22.libarchive.asc
- http://advisories.mageia.org/MGASA-2015-0106.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00065.html
- http://www.debian.org/security/2015/dsa-3180
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:157
- http://www.openwall.com/lists/oss-security/2015/01/07/5
- http://www.openwall.com/lists/oss-security/2015/01/16/7
- http://www.securitytracker.com/id/1035996
- http://www.ubuntu.com/usn/USN-2549-1
- https://github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
- https://github.com/libarchive/libarchive/pull/110
- https://groups.google.com/forum/#%21msg/libarchive-discuss/dN9y1VvE1Qk/Z9uerigjQn0J
- https://security.gentoo.org/glsa/201701-03