Ubuntu 12.04 LTS / 14.04 LTS / 14.10 : libarchive vulnerabilities (USN-2549-1)

Medium Nessus Plugin ID 82268


The remote Ubuntu host is missing one or more security-related patches.


It was discovered that the libarchive bsdcpio utility extracted absolute paths by default without using the --insecure flag, contrary to expectations. If a user or automated system were tricked into extracting cpio archives containing absolute paths, a remote attacker may be able to write to arbitrary files. (CVE-2015-2304)

Fabian Yamaguchi discovered that libarchive incorrectly handled certain type conversions. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service.
This issue only affected Ubuntu 12.04 LTS. (CVE-2013-0211).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected bsdcpio, libarchive12 and / or libarchive13 packages.

Plugin Details

Severity: Medium

ID: 82268

File Name: ubuntu_USN-2549-1.nasl

Version: $Revision: 1.3 $

Type: local

Agent: unix

Published: 2015/03/26

Modified: 2016/05/24

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.4

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:bsdcpio, p-cpe:/a:canonical:ubuntu_linux:libarchive12, p-cpe:/a:canonical:ubuntu_linux:libarchive13, cpe:/o:canonical:ubuntu_linux:12.04:-:lts, cpe:/o:canonical:ubuntu_linux:14.04, cpe:/o:canonical:ubuntu_linux:14.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2015/03/25

Reference Information

CVE: CVE-2013-0211, CVE-2015-2304

BID: 58926, 73137

USN: 2549-1