Gentoo Linux Advisory: Subversion

Written By
Web Webster
Web Webster
Jun 11, 2004

Gentoo Linux Security Advisory GLSA 200406-07


http://security.gentoo.org/


Severity: High
Title: Subversion: Remote heap overflow
Date: June 10, 2004
ID: 200406-07


Synopsis

Subversion is vulnerable to a remote Denial of Service that may
be exploitable to execute arbitrary code on the server running
svnserve.

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.

Affected packages

Package Vulnerable Unaffected
1 dev-util/subversion <= 1.0.4 >= 1.0.4-r1

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.

Advertisement

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"

References

[ 1 ] CAN-2004-0413

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0413

Availability

This GLSA and any updates to it are available for viewing at the
Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200406-07.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or
alternatively, you may file a bug at http://bugs.gentoo.org.

License

Copyright 2004 Gentoo Technologies, Inc; referenced text belongs
to its owner(s).

The contents of this document are licensed under the Creative
Commons – Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.