Debian DSA-903-2 : unzip - race condition

low Nessus Plugin ID 22769

Synopsis

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

Description

The unzip update in DSA 903 contained a regression so that symbolic links that are resolved later in a zip archive aren't supported anymore. This update corrects this behaviour. For completeness, below please find the original advisory text :

Imran Ghory discovered a race condition in the permissions setting code in unzip. When decompressing a file in a directory an attacker has access to, unzip could be tricked to set the file permissions to a different file the user has permissions to.

Solution

Upgrade the unzip package.

For the old stable distribution (woody) this problem has been fixed in version 5.50-1woody5.

For the stable distribution (sarge) this problem has been fixed in version 5.52-1sarge3.

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321927

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343680

http://www.debian.org/security/2005/dsa-903

Plugin Details

Severity: Low

ID: 22769

File Name: debian_DSA-903.nasl

Version: 1.20

Type: local

Agent: unix

Published: 10/14/2006

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Low

Base Score: 1.2

Temporal Score: 0.9

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:3.0, p-cpe:/a:debian:debian_linux:unzip, cpe:/o:debian:debian_linux:3.1

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 8/1/2005

Reference Information

CVE: CVE-2005-2475

BID: 14450

DSA: 903