REDHAT-BUG-895277: Medium severity rubygems/rack vulnerability
Upstream released [1] Rack 1.4.2, 1.3.7, 1.2.6, and 1.1.4 to fix a denial of service condition when Rack parses content with a certain Content-Disposition header as noted in the original report [2].
This has been fixed in git [3].
Additionally, a second flaw that was fixed in 1.4.4, 1.3.9, 1.2.7, and 1.1.5 was also announced [4] that creates a minor denial of service condition, this time in the Rack::Auth::AbstractRequest, where it symbolized arbitrary strings (apparently this has something to do with authentication, but there is no further information provided other than the fix [5] itself, which is noted as "a breaking API change").
[1] http://rack.github.com/ [2] https://groups.google.com/forum/#!msg/rack-devel/1w4fWEgTdI/XAkSNHjtdTsJ [3] https://github.com/rack/rack/commit/4fc44671b3cad569421f4f8b775c0590b86f575e [4] https://groups.google.com/forum/#!topic/rack-devel/ImYOqcGiksw/discussion [5] https://github.com/rack/rack/commit/0c76175fcccad74ba2f991c487d3669c28a297c8
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.4.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.3.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.4.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.3.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.4
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-895277?
The severity of REDHAT-BUG-895277 is considered critical due to the possibility of denial of service.
How do I fix REDHAT-BUG-895277?
To fix REDHAT-BUG-895277, upgrade to Rack version 1.4.2 or later.
What versions are affected by REDHAT-BUG-895277?
Rack versions 1.1.4 through 1.4.2 are affected by REDHAT-BUG-895277.
What type of vulnerability is REDHAT-BUG-895277?
REDHAT-BUG-895277 is a denial of service vulnerability related to content parsing.
Have there been any patches released for REDHAT-BUG-895277?
Yes, patches were released in Rack versions 1.4.2, 1.3.7, 1.2.6, and 1.1.4 to address REDHAT-BUG-895277.