Debian DSA-2549-1 : devscripts - multiple vulnerabilities

high Nessus Plugin ID 62113

Synopsis

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

Description

Multiple vulnerabilities have been discovered in devscripts, a set of scripts to make the life of a Debian Package maintainer easier. The following Common Vulnerabilities and Exposures project ids have been assigned to identify them :

- CVE-2012-2240 :
Raphael Geissert discovered that dscverify does not perform sufficient validation and does not properly escape arguments to external commands, allowing a remote attacker (as when dscverify is used by dget) to execute arbitrary code.

- CVE-2012-2241 :
Raphael Geissert discovered that dget allows an attacker to delete arbitrary files when processing a specially crafted .dsc or .changes file, due to insuficient input validation.

- CVE-2012-2242 :
Raphael Geissert discovered that dget does not properly escape arguments to external commands when processing .dsc and .changes files, allowing an attacker to execute arbitrary code. This issue is limited with the fix for CVE-2012-2241, and had already been fixed in version 2.10.73 due to changes to the code, without considering its security implications.

- CVE-2012-3500 :
Jim Meyering, Red Hat, discovered that annotate-output determines the name of temporary named pipes in a way that allows a local attacker to make it abort, leading to denial of service.

Additionally, a regression in the exit code of debdiff introduced in DSA-2409-1 has been fixed.

Solution

Upgrade the devscripts packages.

For the stable distribution (squeeze), these problems have been fixed in version 2.10.69+squeeze4.

See Also

https://security-tracker.debian.org/tracker/CVE-2012-2240

https://security-tracker.debian.org/tracker/CVE-2012-2241

https://security-tracker.debian.org/tracker/CVE-2012-2242

https://security-tracker.debian.org/tracker/CVE-2012-3500

https://packages.debian.org/source/squeeze/devscripts

https://www.debian.org/security/2012/dsa-2549

Plugin Details

Severity: High

ID: 62113

File Name: debian_DSA-2549.nasl

Version: 1.12

Type: local

Agent: unix

Published: 9/17/2012

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:devscripts, cpe:/o:debian:debian_linux:6.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/15/2012

Reference Information

CVE: CVE-2012-2240, CVE-2012-2241, CVE-2012-2242, CVE-2012-3500

BID: 55358

DSA: 2549