Debian DSA-2363-1 : tor - buffer overflow

high Nessus Plugin ID 57503

Synopsis

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

Description

It was discovered that Tor, an online privacy tool, incorrectly computes buffer sizes in certain cases involving SOCKS connections.
Malicious parties could use this to cause a heap-based buffer overflow, potentially allowing execution of arbitrary code.

In Tor's default configuration this issue can only be triggered by clients that can connect to Tor's SOCKS port, which listens only on localhost by default.

In non-default configurations where Tor's SocksPort listens not only on localhost or where Tor was configured to use another SOCKS server for all of its outgoing connections, Tor is vulnerable to a larger set of malicious parties.

Solution

Upgrade the tor packages.

For the oldstable distribution (lenny), this problem has been fixed in version 0.2.1.32-1.

For the stable distribution (squeeze), this problem has been fixed in version 0.2.2.35-1~squeeze+1.

Please note that the update for stable (squeeze) updates this package from 0.2.1.31 to 0.2.2.35, a new major release of Tor, as upstream has announced end-of-life for the 0.2.1.x tree for the near future. Please check your Tor runs as expected after the upgrade.

See Also

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

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

Plugin Details

Severity: High

ID: 57503

File Name: debian_DSA-2363.nasl

Version: 1.8

Type: local

Agent: unix

Published: 1/12/2012

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.6

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

Vulnerability Information

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

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

Patch Publication Date: 12/16/2011

Reference Information

CVE: CVE-2011-2778

DSA: 2363