USN-1038-1: dpkg vulnerability

6 January 2011

dpkg vulnerability

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

  • Ubuntu 10.10
  • Ubuntu 10.04 LTS
  • Ubuntu 9.10


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

Software Description

  • dpkg - Debian package management system


Jakub Wilk and Raphael Hertzog discovered that dpkg-source did not correctly handle certain paths and symlinks when unpacking source-format version 3.0 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 versions:

Ubuntu 10.10
dpkg-dev -
Ubuntu 10.04 LTS
dpkg-dev -
Ubuntu 9.10
dpkg-dev - 1.15.4ubuntu2.3

To update your system, please follow these instructions:

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