Bug 929082 (CVE-2013-1845)

Summary: CVE-2013-1845 Subversion (mod_dav_svn): DoS (excessive memory use) when large number of properties are set or deleted
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jkaluza, jlieskov, jorton, rhack, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Subversion 1.6.21, Subversion 1.7.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-18 13:13:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 947369, 947370, 947372, 947374, 948813    
Bug Blocks: 929099    
Attachments:
Description Flags
patch-against-1.6.20
none
patch-against-1.7.8 none

Description Huzaifa S. Sidhpurwala 2013-03-29 08:29:55 UTC
It was found that Subversion's mod_dav_svn Apache HTTPD server module will use excessive amounts of memory when a large number of properties are set or deleted on a node. This can lead to a DoS. 

Setting or deleting a large number of properties on a node (file or directory)  will result in a large amount of memory use.  Due to the  memory pooling behavior of Apache httpd and Subversion the completion of the request will not result in the immediate release of memory used. Repeated commits with the same properties will result in each httpd process plateauing out at some amount of memory.  This could result in a Denial of Service if the system is exhausted of all available memory.

Acknowledgements:

Red Hat would like to thank the Apache Subversion project for reporting this issue. Upstream acknowledges Alexander Klink as the original reporter of this flaw.

Comment 2 Huzaifa S. Sidhpurwala 2013-03-29 08:33:35 UTC
Created attachment 717966 [details]
patch-against-1.6.20

Comment 3 Huzaifa S. Sidhpurwala 2013-03-29 08:33:58 UTC
Created attachment 717967 [details]
patch-against-1.7.8

Comment 5 Huzaifa S. Sidhpurwala 2013-04-04 09:09:36 UTC
This issue affects the version of subversion as shipped with Red Hat Enterprise Linux 5 and 6.

This issue affects the version of subversion as shipped with Fedora 17 and Fedora 18.

Comment 6 Jan Lieskovsky 2013-04-05 12:26:17 UTC
External References:

http://subversion.apache.org/security/CVE-2013-1845-advisory.txt

Comment 8 Jan Lieskovsky 2013-04-05 12:58:36 UTC
Created subversion tracking bugs for this issue

Affects: fedora-all [bug 948813]

Comment 9 errata-xmlrpc 2013-04-11 17:49:13 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2013:0737 https://rhn.redhat.com/errata/RHSA-2013-0737.html