Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1232292 - (CVE-2015-3225) CVE-2015-3225 rubygem-rack: Potential Denial of Service Vulnerability in Rack normalize_params()
CVE-2015-3225 rubygem-rack: Potential Denial of Service Vulnerability in Rack...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150616,repor...
: Security
Depends On: 1248924 1232644 1248923 1248925 1248926 1248927
Blocks: 1210268 1232293
  Show dependency treegraph
 
Reported: 2015-06-16 08:43 EDT by Vasyl Kaigorodov
Modified: 2016-04-26 20:52 EDT (History)
56 users (show)

See Also:
Fixed In Version: rubygem-rack-1.6.2, rubygem-rack-1.5.4
Doc Type: Bug Fix
Doc Text:
A flaw was found in a way Rack processed parameters of incoming requests. An attacker could use this flaw to send a crafted request that would cause an application using Rack to crash.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-04 02:18:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
1-5-deep_params.patch (3.12 KB, text/plain)
2015-06-16 08:45 EDT, Vasyl Kaigorodov
no flags Details
1-6-deep_params.patch (3.19 KB, text/plain)
2015-06-16 08:46 EDT, Vasyl Kaigorodov
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2290 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2015-11-19 04:43:53 EST

  None (edit)
Description Vasyl Kaigorodov 2015-06-16 08:43:58 EDT
A potential denial of service vulnerability in Rack was reported.
Carefully crafted requests can cause a `SystemStackError` and potentially cause a denial of service attack.

Patches that fix this are attached.

Acknowledgements:

Red Hat would like to thank Ruby upstream developers for reporting this. Upstream acknowledges Tomek Rabczak from the NCC Group as the original reporter.
Comment 1 Vasyl Kaigorodov 2015-06-16 08:45:52 EDT
Created attachment 1039440 [details]
1-5-deep_params.patch
Comment 2 Vasyl Kaigorodov 2015-06-16 08:46:10 EDT
Created attachment 1039441 [details]
1-6-deep_params.patch
Comment 3 Kurt Seifried 2015-06-16 15:35:34 EDT
This is public now:

http://seclists.org/oss-sec/2015/q2/729
Comment 4 Ján Rusnačko 2015-07-31 03:20:32 EDT
From upstream advisory:

"Versions Affected:  All.
Not affected:       None.
Fixed Versions:     1.6.2, 1.5.4

Impact 
------ 
Carefully crafted requests can cause a `SystemStackError` and potentially
cause a denial of service attack.

All users running an affected release should either upgrade or use one of the workarounds immediately. 

Releases 
-------- 
The FIXED releases are available at the normal locations. 

Workarounds 
----------- 
There are no feasible workarounds for this issue. "


External References:
https://groups.google.com/forum/#!msg/rubyonrails-security/gcUbICUmKMc/qiCotVZwXrMJ
Comment 8 Ján Rusnačko 2015-07-31 03:27:29 EDT
Created rubygem-rack tracking bugs for this issue:

Affects: fedora-all [bug 1248923]
Affects: epel-all [bug 1248924]
Comment 10 Fedora Update System 2015-08-19 04:09:17 EDT
rubygem-rack-1.6.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2015-08-27 19:49:23 EDT
rubygem-rack-1.5.2-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2015-11-19 04:37:35 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2290 https://rhn.redhat.com/errata/RHSA-2015-2290.html

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