{"id":"GHSA-h77x-m5q8-c29h","summary":"Rack vulnerable to REDoS","details":"`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.","aliases":["CVE-2012-6109"],"modified":"2024-11-29T05:40:18.610572Z","published":"2017-10-24T18:33:37Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:39:20Z","nvd_published_at":"2013-03-01T05:40:00Z","cwe_ids":["CWE-835"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6109"},{"type":"WEB","url":"https://github.com/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2013:0544"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2012-6109"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=895277"},{"type":"WEB","url":"https://github.com/rack/rack"},{"type":"WEB","url":"https://github.com/rack/rack/blob/master/README.rdoc"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2012-6109.yml"},{"type":"WEB","url":"https://groups.google.com/forum/#!msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ"},{"type":"WEB","url":"https://groups.google.com/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ"},{"type":"WEB","url":"https://rhn.redhat.com/errata/RHSA-2013-0544.html"}],"affected":[{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4"}]}],"versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.9.0","0.9.1","1.0.0","1.0.1","1.1.0","1.1.1","1.1.1.pre","1.1.2","1.1.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h77x-m5q8-c29h/GHSA-h77x-m5q8-c29h.json"}},{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}],"versions":["1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h77x-m5q8-c29h/GHSA-h77x-m5q8-c29h.json"}},{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.7"}]}],"versions":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h77x-m5q8-c29h/GHSA-h77x-m5q8-c29h.json"}},{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"versions":["1.4.0","1.4.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h77x-m5q8-c29h/GHSA-h77x-m5q8-c29h.json"}}],"schema_version":"1.9.0"}