Debian DSA-2142-1 : dpkg - directory traversal

medium Nessus Plugin ID 51428

Synopsis

The remote Debian host is missing a security-related update.

Description

Jakub Wilk discovered that the dpkg-source component of dpkg, the Debian package management system, doesn't correctly handle paths in patches of source packages, which could make it traverse directories.
Raphael Hertzog additionally discovered that symbolic links in the .pc directory are followed, which could make it traverse directories too.

Both issues only affect source packages using the '3.0 quilt' format at unpack-time.

Solution

Upgrade the dpkg packages.

For the stable distribution (lenny), these problems have been fixed in version 1.14.31.

See Also

https://www.debian.org/security/2011/dsa-2142

Plugin Details

Severity: Medium

ID: 51428

File Name: debian_DSA-2142.nasl

Version: 1.12

Type: local

Agent: unix

Published: 1/7/2011

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:dpkg, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 1/6/2011

Reference Information

CVE: CVE-2010-1679

DSA: 2142