dpkg: Arbitrary code execution — GLSA 201612-07

A vulnerability was discovered in dpkg which could potentially lead to arbitrary code execution.

Affected packages

app-arch/dpkg on all architectures
Affected versions < 1.17.26
Unaffected versions >= 1.17.26

Background

Debian package management system.

Description

Gentoo Linux developer, Hanno Böck, discovered an off-by-one error in the dpkg-deb component of dpkg, the Debian package management system, which triggers a stack-based buffer overflow.

Impact

An attacker could potentially execute arbitrary code if an user or an automated system were tricked into processing a specially crafted Debian binary package (.deb).

Workaround

There is no known workaround at this time.

Resolution

All dpkg users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/dpkg-1.17.26"
 

References

Release date
December 04, 2016

Latest revision
December 04, 2016: 1

Severity
normal

Exploitable
local, remote

Bugzilla entries