CVE-2012-6109: Medium severity rack-project rack vulnerability

Published May 4, 2012
·
Updated

lib/rack/multipart.rb in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Content-Disposion header.

Other sources

lib/rack/multipart.rb in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Content-Disposion header.

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

Red Hat

Affected Software

52 affected componentsFixes available
rubygems/rack>=1.4.0<1.4.2
1.4.2
rubygems/rack>=1.3.0<1.3.7
1.3.7
rubygems/rack>=1.2.0<1.2.6
1.2.6
rubygems/rack<1.1.4
1.1.4
redhat/rubygem-activesupport<1:3.0.10-10.el6cf
1:3.0.10-10.el6cf
redhat/rubygem-nokogiri<0:1.5.0-0.9.beta4.el6cf
0:1.5.0-0.9.beta4.el6cf
redhat/rubygem-rack<1:1.3.0-3.el6cf
1:1.3.0-3.el6cf
redhat/rubygem-rdoc<0:3.8-6.el6cf
0:3.8-6.el6cf
redhat/rubygem-rspec-rails<0:2.6.1-7.el6cf
0:2.6.1-7.el6cf
redhat/rubygem-shoulda<0:2.11.3-5.el6cf
0:2.11.3-5.el6cf
redhat/apache-commons-codec<0:1.7-2.el6_3
0:1.7-2.el6_3
redhat/apache-mime4j<0:0.6-4_redhat_1.ep6.el6.1
0:0.6-4_redhat_1.ep6.el6.1
redhat/candlepin<0:0.7.23-1.el6_3
0:0.7.23-1.el6_3
redhat/elasticsearch<0:0.19.9-5.el6_3
0:0.19.9-5.el6_3
redhat/katello<0:1.2.1-15h.el6_3
0:1.2.1-15h.el6_3
redhat/katello-certs-tools<0:1.2.1-1h.el6_3
0:1.2.1-1h.el6_3
redhat/katello-cli<0:1.2.1-12h.el6_3
0:1.2.1-12h.el6_3
redhat/katello-configure<0:1.2.3-3h.el6_3
0:1.2.3-3h.el6_3
redhat/katello-selinux<0:1.2.1-2h.el6_3
0:1.2.1-2h.el6_3
redhat/lucene3<0:3.6.1-10h.el6_3
0:3.6.1-10h.el6_3
redhat/puppet<0:2.6.17-2.el6cf
0:2.6.17-2.el6cf
redhat/quartz<0:2.1.5-4.el6_3
0:2.1.5-4.el6_3
redhat/rubygem-apipie-rails<0:0.0.12-2.el6cf
0:0.0.12-2.el6cf
redhat/rubygem-mail<0:2.3.0-3.el6cf
0:2.3.0-3.el6cf
redhat/sigar<0:1.6.5-0.12.git58097d9h.el6_3
0:1.6.5-0.12.git58097d9h.el6_3
redhat/snappy-java<0:1.0.4-2.el6_3
0:1.0.4-2.el6_3
redhat/thumbslug<0:0.0.28-1.el6_3
0:0.0.28-1.el6_3
Rack Project Rack<=1.1.3
Rack Project Rack=0.1
Rack Project Rack=0.2
Rack Project Rack=0.3
Rack Project Rack=0.4
Rack Project Rack=0.9
Rack Project Rack=0.9.1
Rack Project Rack=1.0.0
Rack Project Rack=1.0.1
Rack Project Rack=1.1.0
Rack Project Rack=1.1.2
Rack Project Rack=1.2.0
Rack Project Rack=1.2.1
Rack Project Rack=1.2.2
Rack Project Rack=1.2.3
Rack Project Rack=1.2.4
Rack Project Rack=1.3.0
Rack Project Rack=1.3.1
Rack Project Rack=1.3.2
Rack Project Rack=1.3.3
Rack Project Rack=1.3.4
Rack Project Rack=1.3.5
Rack Project Rack=1.3.6
Rack Project Rack=1.4.0
Rack Project Rack=1.4.1

Event History

May 4, 2012
CVE Published
12:00 AM
Jan 14, 2013
Data Sourced
via Red Hat·11:48 PM
DescriptionSeverityAffected Software
Mar 1, 2013
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-6109?

CVE-2012-6109 has a severity rating that indicates a denial of service vulnerability that can lead to an infinite loop.

2

How do I fix CVE-2012-6109?

To fix CVE-2012-6109, upgrade Rack to version 1.1.4 or later, or to the appropriate patched version for your installation.

3

What versions of Rack are affected by CVE-2012-6109?

CVE-2012-6109 affects Rack versions before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2.

4

Can CVE-2012-6109 cause a website to crash?

Yes, CVE-2012-6109 can allow remote attackers to cause a denial of service, potentially crashing the affected application.

5

Is CVE-2012-6109 exploitable without authentication?

CVE-2012-6109 can be exploited without authentication, making it a significant risk for publicly accessible servers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203