GLSA-200406-07 : Subversion: Remote heap overflow
Critical Nessus Plugin ID 14518
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe 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.
Ranges from remote Denial of Service to potential arbitrary code execution with privileges of the svnserve process.
Servers without svnserve running are not vulnerable. Disable svnserve and use DAV for access instead.
SolutionAll 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'