J-Security Center

Title: Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability

Severity: CRITICAL

Description:

Subversion is a freely available, open source software version control system for the Unix, Linux, and Microsoft Windows platforms.

It is reported that Subversion is prone to a remote integer overrun vulnerability. The issue exists in the svn protocol parser and is due to a lack of sufficient bounds checking performed on svn URI strings (svn://) that are transmitted by the client.

It is reported that memory is allocated by svnserve in order to contain the svn URI string, however if the URI string is long enough an integer overrun may occur where the size value of the URI string will wrap and be misrepresented. This may potentially result in the allocation of an insufficient chunk of heap based memory. When the subsequent write operation is performed to copy the svn URI string into the allocated buffer, URI string data that exceeds the size of the allocated buffer will corrupt adjacent heap memory management structures. This may permit an attacker to corrupt a region of memory at an attacker-controlled location.

It is conjectured that this vulnerability may be exploited remotely to execute arbitrary code. This however is not confirmed. The attacker does not require read or write access to the Subversion repository in order to exploit this issue.

Affected Products:

  • Conectiva Linux 10.0.0
  • OpenPKG OpenPKG 2.0.0
  • OpenPKG OpenPKG Current
  • RedHat Linux 9.0.0 i386
  • Subversion Subversion 0.27.0
  • Subversion Subversion 1.0.0
  • Subversion Subversion 1.0.1
  • Subversion Subversion 1.0.2
  • Subversion Subversion 1.0.3
  • Subversion Subversion 1.0.4

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.