USN-2183-2: dpkg vulnerability

Ubuntu Security Notice USN-2183-2

1st May, 2014

dpkg vulnerability

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

  • Ubuntu 14.04 LTS
  • Ubuntu 13.10
  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 10.04 LTS


A malicious source package could write files outside the unpack directory.

Software description

  • dpkg - Debian package management system


USN-2183-1 fixed a vulnerability in dpkg. Javier Serrano Polo discovered
that the fix introduced a vulnerability in releases with an older version
of the patch utility. This update fixes the problem.

Original advisory details:

Jakub Wilk discovered that dpkg incorrectly certain paths and symlinks when
unpacking source packages. If a user or an automated system were tricked
into unpacking a specially crafted source package, a remote attacker could
modify files outside the target unpack directory, leading to a denial of
service or potentially gaining access to the system.

Update instructions

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

Ubuntu 14.04 LTS:
libdpkg-perl 1.17.5ubuntu5.2
Ubuntu 13.10:
libdpkg-perl 1.16.12ubuntu1.2
Ubuntu 12.10:
libdpkg-perl 1.16.7ubuntu6.2
Ubuntu 12.04 LTS:
Ubuntu 10.04 LTS:

To update your system, please follow these instructions:

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