Lucene search

K
gentooGentoo FoundationGLSA-200406-07
HistoryJun 10, 2004 - 12:00 a.m.

Subversion: Remote heap overflow

2004-06-1000:00:00
Gentoo Foundation
security.gentoo.org
10

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.315 Low

EPSS

Percentile

97.0%

Background

Subversion is a revision control system that aims to be a “compelling replacement for CVS”. It enjoys wide use in the open source community. svnserve allows access to Subversion repositories using URIs with the svn://, svn+ssh://, and other tunelled svn+*:// protocols.

Description

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.

Resolution

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-util/subversion<= 1.0.4UNKNOWN

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.315 Low

EPSS

Percentile

97.0%