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

Summary

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

Software Description

  • dpkg - Debian package management system

Details

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 - 1.15.8.4ubuntu3.1
Ubuntu 10.04 LTS
dpkg-dev - 1.15.5.6ubuntu4.5
Ubuntu 9.10
dpkg-dev - 1.15.4ubuntu2.3

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References