CVE-2012-6109 json
Rack vulnerable to REDoS
published 2013-03-01 13 y ago modified 2026-06-16 4 mo ago also GHSA-h77x-m5q8-c29h , EUVD-2017-0248
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rack 1.1.4, 1.2.6, 1.3.7, 1.4.2
- ruby-rack Debian 14, Debian 13, Debian 12 1.4.1-2.1
debian advisories DEBIAN-CVE-2012-6109
- ruby-rack Ubuntu 14.04 LTS 1.5.2-1
ubuntu advisories UBUNTU-CVE-2012-6109
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/rack/rack@c9f65df commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6109 updated cvss 4.3
rubygem-rack: parsing Content-Disposition header DoS
-
Red Hat OpenShift Enterprise 1 rubygem-rack, rubygem193-rackaffected: no fix planned “Will not fix”
-
Red Hat Enterprise MRG 2 rubygem-rackaffected: no fix available
-
Red Hat CloudForms Cloud Engine for RHEL 6 Server rubygem-rdoc 3.8-6.el6cf, rubygem-rack 1.3.0-3.el6cf, rubygem-shoulda 2.11.3-5.el6cf, rubygem-delayed_job 2.1.4-3.el6cf, rubygem-rspec-rails 2.6.1-7.el6cf, rubygem-ruby_parser 2.0.4-6.el6cf, +4 more Red Hat CloudForms System Engine for RHEL 6 Server rubygem-rdoc 3.8-6.el6cf, rubygem-rack 1.3.0-3.el6cf, rubygem-delayed_job 2.1.4-3.el6cf, rubygem-ruby_parser 2.0.4-6.el6cf, rubygem-rails_warden 0.5.5-2.el6cf, ruby-nokogiri 1.5.0-0.9.beta4.el6cf, +2 morefixed: vendor fix RHSA-2013:0548
-
Red Hat Subscription Asset Manager for RHEL 6 Server quartz 2.1.5-4.el6_3, puppet 2.6.17-2.el6cf, katello 1.2.1-15h.el6_3, lucene3 3.6.1-10h.el6_3, candlepin 0.7.23-1.el6_3, thumbslug 0.0.28-1.el6_3, +27 morefixed: vendor fix RHSA-2013:0544
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.72% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack | <1.1.4 >=1.2.0, <1.2.6 >=1.3.0, <1.3.7 >=1.4.0, <1.4.2 |
1.1.4 1.2.6 1.3.7 1.4.2 |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5
web
-
rhn.redhat.com
/errata/RHSA-2013-0548.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0544.html
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=895277
web
- rack.github.com /
-
github.com
/rack/rack/blob/master/README.rdoc
web
-
groups.google.com
/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-6109
advisory
-
access.redhat.com
/errata/RHSA-2013:0544
web
-
access.redhat.com
/security/cve/CVE-2012-6109
web
-
github.com
/rack/rack
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2012-6109.yml
web
-
groups.google.com
/forum/#!msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ
web
-
rhn.redhat.com
/errata/RHSA-2013-0544.html
web
Sources
- CVE List CVE-2012-6109
- GitHub Advisory GHSA-h77x-m5q8-c29h
- NVD CVE-2012-6109
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.