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…
Priority LOW 25CWE-835Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.
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.
Why it matters now
EPSS 0.02717 86th percentileScored 2026-11-07
Fix Partial rack (RubyGems): 1.1.4, 1.2.6, 1.3.7 +1Red Hat: 2 advisoriesRed Hat: 3 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rack (RubyGems) | before 1.1.4 | 1.1.4 | Patch available | GHSA-h77x-m5q8-c29h |
| — | rack (RubyGems) | 1.2.0 to before 1.2.6 | 1.2.6 | Patch available | GHSA-h77x-m5q8-c29h |
| — | rack (RubyGems) | 1.3.0 to before 1.3.7 | 1.3.7 | Patch available | GHSA-h77x-m5q8-c29h |
| — | rack (RubyGems) | 1.4.0 to before 1.4.2 | 1.4.2 | Patch available | GHSA-h77x-m5q8-c29h |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rack (RubyGems) Vendor— Affected before 1.1.4 Fixed in 1.1.4 Patch available GHSA-h77x-m5q8-c29h
- rack (RubyGems) Vendor— Affected 1.2.0 to before 1.2.6 Fixed in 1.2.6 Patch available GHSA-h77x-m5q8-c29h
- rack (RubyGems) Vendor— Affected 1.3.0 to before 1.3.7 Fixed in 1.3.7 Patch available GHSA-h77x-m5q8-c29h
- rack (RubyGems) Vendor— Affected 1.4.0 to before 1.4.2 Fixed in 1.4.2 Patch available GHSA-h77x-m5q8-c29h
CPE configurations NVD · 25
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* | up to 1.1.3 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.1:*:*:*:*:*:*:* | 0.1 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.2:*:*:*:*:*:*:* | 0.2 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.3:*:*:*:*:*:*:* | 0.3 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.4:*:*:*:*:*:*:* | 0.4 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.9:*:*:*:*:*:*:* | 0.9 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:0.9.1:*:*:*:*:*:*:* | 0.9.1 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.0.0:*:*:*:*:*:*:* | 1.0.0 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.0.1:*:*:*:*:*:*:* | 1.0.1 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.1.0:*:*:*:*:*:*:* | 1.1.0 | Vulnerable | Rack Project |
- cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* Versions up to 1.1.3 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.1:*:*:*:*:*:*:* Versions 0.1 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.2:*:*:*:*:*:*:* Versions 0.2 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.3:*:*:*:*:*:*:* Versions 0.3 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.4:*:*:*:*:*:*:* Versions 0.4 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.9:*:*:*:*:*:*:* Versions 0.9 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:0.9.1:*:*:*:*:*:*:* Versions 0.9.1 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.0.0:*:*:*:*:*:*:* Versions 1.0.0 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.1.0:*:*:*:*:*:*:* Versions 1.1.0 Vulnerable ·Rack Project
Show 15 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rack_project:rack:1.1.2:*:*:*:*:*:*:* | 1.1.2 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.2.0:*:*:*:*:*:*:* | 1.2.0 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.2.1:*:*:*:*:*:*:* | 1.2.1 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.2.2:*:*:*:*:*:*:* | 1.2.2 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.2.3:*:*:*:*:*:*:* | 1.2.3 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.2.4:*:*:*:*:*:*:* | 1.2.4 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.0:*:*:*:*:*:*:* | 1.3.0 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.1:*:*:*:*:*:*:* | 1.3.1 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.2:*:*:*:*:*:*:* | 1.3.2 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.3:*:*:*:*:*:*:* | 1.3.3 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.4:*:*:*:*:*:*:* | 1.3.4 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.5:*:*:*:*:*:*:* | 1.3.5 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.3.6:*:*:*:*:*:*:* | 1.3.6 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.4.0:*:*:*:*:*:*:* | 1.4.0 | Vulnerable | Rack Project |
| cpe:2.3:a:rack_project:rack:1.4.1:*:*:*:*:*:*:* | 1.4.1 | Vulnerable | Rack Project |
- cpe:2.3:a:rack_project:rack:1.1.2:*:*:*:*:*:*:* Versions 1.1.2 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.2.0:*:*:*:*:*:*:* Versions 1.2.0 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.2.1:*:*:*:*:*:*:* Versions 1.2.1 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.2.2:*:*:*:*:*:*:* Versions 1.2.2 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.2.3:*:*:*:*:*:*:* Versions 1.2.3 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.2.4:*:*:*:*:*:*:* Versions 1.2.4 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.0:*:*:*:*:*:*:* Versions 1.3.0 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.1:*:*:*:*:*:*:* Versions 1.3.1 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.2:*:*:*:*:*:*:* Versions 1.3.2 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.3:*:*:*:*:*:*:* Versions 1.3.3 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.4:*:*:*:*:*:*:* Versions 1.3.4 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.5:*:*:*:*:*:*:* Versions 1.3.5 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.3.6:*:*:*:*:*:*:* Versions 1.3.6 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.4.0:*:*:*:*:*:*:* Versions 1.4.0 Vulnerable ·Rack Project
- cpe:2.3:a:rack_project:rack:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·Rack Project
Remediation
- Fix · GHSA-h77x-m5q8-c29h rack (RubyGems) Fixed in 1.1.4 Advisory →
- Fix · GHSA-h77x-m5q8-c29h rack (RubyGems) Fixed in 1.2.6 Advisory →
- Fix · GHSA-h77x-m5q8-c29h rack (RubyGems) Fixed in 1.3.7 Advisory →
- Fix · GHSA-h77x-m5q8-c29h rack (RubyGems) Fixed in 1.4.2 Advisory →
Red Hat 2 advisories
- RHSA-2013:0544 Released 2013-02-21 · Red Hat rating ImportantSubscription Asset Manager 1.2 update
- Red Hat Subscription Asset Manager for RHEL 6 Server apache-commons-codec-1.7-2.el6_3, apache-mime4j-0.6-4_redhat_1.ep6.el6.1, apache-mime4j-javadoc-0.6-4_redhat_1.ep6.el6.1 +33
- RHSA-2013:0548 Released 2013-02-21 · Red Hat rating ModerateCloudForms Common 1.1.2 update
- CloudForms Cloud Engine for RHEL 6 Server ruby-nokogiri-1.5.0-0.9.beta4.el6cf, rubygem-activesupport-1:3.0.10-10.el6cf, rubygem-delayed_job-2.1.4-3.el6cf +14
- CloudForms System Engine for RHEL 6 Server ruby-nokogiri-1.5.0-0.9.beta4.el6cf, rubygem-activesupport-1:3.0.10-10.el6cf, rubygem-delayed_job-2.1.4-3.el6cf +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Enterprise 1 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise MRG 2 | Affected | No fix yet |
| CloudForms Cloud Engine for RHEL 6 Server | Fixed | RHSA-2013:0548 |
| CloudForms System Engine for RHEL 6 Server | Fixed | RHSA-2013:0548 |
| Red Hat Subscription Asset Manager for RHEL 6 Server | Fixed | RHSA-2013:0544 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-6109
- 2026-10-03 Alias added: GHSA-h77x-m5q8-c29h
References
Other 11
- https://bugzilla.redhat.com/show_bug.cgi?id=895277
- https://github.com/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5
- http://rack.github.com/
- https://github.com/rack/rack/blob/master/README.rdoc
- https://groups.google.com/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ
- https://access.redhat.com/errata/RHSA-2013:0544
- https://access.redhat.com/security/cve/CVE-2012-6109
- https://github.com/rack/rack
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2012-6109.yml
- https://groups.google.com/forum/#!msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ
- https://rhn.redhat.com/errata/RHSA-2013-0544.html
More Rack Project Rack vulnerabilities
- TI-2022-12397 A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which… CVSS 3.1CRITICAL 10.0
- TI-2022-12396 Uncontrolled resource consumption in https://github.com/rack/rack CVSS 3.1HIGH 7.5
- TI-2020-06579 Path traversal in https://github.com/rack/rack CVSS 3.1HIGH 8.6
- TI-2020-06602 Improper input validation in https://github.com/rack/rack CVSS 3.1HIGH 7.5
- TI-2018-11812 Uncontrolled resource consumption in Rack CVSS 3.0HIGH 7.5
- TI-2015-02854 lib/rack/utils.rb in Rack before 1.5.4 and 1.6.x before 1.6.2, as used with Ruby on Rails… CVSS 2.0MEDIUM 5.0
Sources
- CVE-2012-6109 · CVE Program
- CVE-2012-6109 · NVD
- FIRST EPSS
- GHSA-h77x-m5q8-c29h · GitHub Advisory Database · CC BY 4.0
- CVE-2012-6109 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences