GitHub Advisoryadvisory · RubyGems
GHSA-h77x-m5q8-c29h Rack vulnerable to REDoS
MEDIUM
Official page ↗
- Aliases
- CVE-2012-6109
- Ecosystem
- RubyGems
- Packages
- rack
- Severity
- Moderate
- Weaknesses
- CWE-835
- Reviewed
- 2020-06-16
Affected packages
• RubyGems rack: < 1.1.4 → fixed in 1.1.4
• RubyGems rack: >= 1.2.0, < 1.2.6 → fixed in 1.2.6
• RubyGems rack: >= 1.3.0, < 1.3.7 → fixed in 1.3.7
• RubyGems rack: >= 1.4.0, < 1.4.2 → fixed in 1.4.2
Description
`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.
Related
Alias · CVE (1)
- CVE-2012-6109 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… vulnerability
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-6109 advisory
- https://github.com/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5 web
- https://access.redhat.com/errata/RHSA-2013:0544 web
- https://access.redhat.com/security/cve/CVE-2012-6109 web
- https://bugzilla.redhat.com/show_bug.cgi?id=895277 web
- https://github.com/rack/rack web
- https://github.com/rack/rack/blob/master/README.rdoc web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2012-6109.yml web
- https://groups.google.com/forum/#!msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ web
- https://groups.google.com/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ web
- https://rhn.redhat.com/errata/RHSA-2013-0544.html web