Bug 749071 - httpd: RHSA-2011:1329 and RHSA-2011:1330 range 0- handling regression
Summary: httpd: RHSA-2011:1329 and RHSA-2011:1330 range 0- handling regression
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Enterprise Web Server 1
Classification: JBoss
Component: httpd22
Version: 1.0.2
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: ---
Assignee: Permaine Cheung
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-26 03:43 UTC by David Jorm
Modified: 2014-10-21 00:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-07 19:04:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0542 0 normal SHIPPED_LIVE Moderate: httpd security and bug fix update 2012-05-07 22:22:44 UTC

Description David Jorm 2011-10-26 03:43:54 UTC
Description of problem:
RHSA-2011:1329 and RHSA-2011:1330 provided a fix for CVE-2011-3192, which significantly changed ranges handling code and resulted in a following regression:

Range specification of 0- was returning response 200 rather than 206, which may be expected by some clients:

https://issues.apache.org/bugzilla/show_bug.cgi?id=51878

Fixed upstream in:

http://svn.apache.org/viewvc?view=revision&revision=1175980
http://svn.apache.org/viewvc?view=revision&revision=1175992

Return code 200 was an optimization to make httpd return complete file is sum of sizes of all ranges was equal to or higher than file size.  The above patches ensure the optimization is only used when sum of all ranges exceeds file size.

Comment 3 errata-xmlrpc 2012-05-07 19:04:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0542.html


Note You need to log in before you can comment on or make changes to this bug.