USN-2549-1: libarchive vulnerabilities

25 March 2015

libarchive vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 14.10
  • Ubuntu 14.04 LTS
  • Ubuntu 12.04 LTS


libarchive could be made to crash or overwrite files.

Software Description

  • libarchive - Library to read/write archive files


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)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 14.10
bsdcpio - 3.1.2-9ubuntu0.1
libarchive13 - 3.1.2-9ubuntu0.1
Ubuntu 14.04 LTS
bsdcpio - 3.1.2-7ubuntu2.1
libarchive13 - 3.1.2-7ubuntu2.1
Ubuntu 12.04 LTS
bsdcpio - 3.0.3-6ubuntu1.1
libarchive12 - 3.0.3-6ubuntu1.1

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.