GLSA-200406-07 : Subversion: Remote heap overflow

critical Nessus Plugin ID 14518

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200406-07 (Subversion: Remote heap overflow)

The svn protocol parser trusts the indicated length of a URI string sent by a client. This allows a client to specify a very long string, thereby causing svnserve to allocate enough memory to hold that string. This may cause a Denial of Service. Alternately, given a string that causes an integer overflow in the variable holding the string length, the server might allocate less memory than required, allowing a heap overflow. This heap overflow may then be exploitable, allowing remote code execution. The attacker does not need read or write access to the Subversion repository being served, since even un-authenticated users can send svn protocol requests.
Impact :

Ranges from remote Denial of Service to potential arbitrary code execution with privileges of the svnserve process.
Workaround :

Servers without svnserve running are not vulnerable. Disable svnserve and use DAV for access instead.

Solution

All users should upgrade to the latest version of Subversion.
# emerge sync # emerge -pv '>=dev-util/subversion-1.0.4-r1' # emerge '>=dev-util/subversion-1.0.4-r1'

See Also

https://security.gentoo.org/glsa/200406-07

Plugin Details

Severity: Critical

ID: 14518

File Name: gentoo_GLSA-200406-07.nasl

Version: 1.16

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:subversion, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/10/2004

Vulnerability Publication Date: 6/12/2004

Reference Information

CVE: CVE-2004-0413

GLSA: 200406-07