{"id":"CVE-2012-6109","aliases":["DEBIAN-CVE-2012-6109","EUVD-2017-0248","GHSA-h77x-m5q8-c29h","UBUNTU-CVE-2012-6109"],"status":"published","title":"Rack vulnerable to REDoS","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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02717,"percentile":0.86121,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2013-03-01T02:00:00Z","modified":"2026-10-23T17:47:22Z","fixes":[{"ecosystem":"RubyGems","package":"rack","fixed_in":["1.1.4","1.2.6","1.3.7","1.4.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-rack","fixed_in":["1.4.1-2.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-rack","fixed_in":["1.4.1-2.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-rack","fixed_in":["1.4.1-2.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"ruby-rack","fixed_in":["1.5.2-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.7"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2.1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"RubyGems","package":"rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"versions":["1.4.0","1.4.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"ruby-rack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1"}]}]}],"products":[{"vendor":"rack_project","product":"rack"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=895277","tags":["x_refsource_MISC","x_transferred","report","web"]},{"url":"https://github.com/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://rack.github.com/","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://github.com/rack/rack/blob/master/README.rdoc","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://groups.google.com/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0548.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0544.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6109","tags":["advisory"]},{"url":"https://groups.google.com/forum/#!msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0544","tags":["web"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-6109","tags":["web"]},{"url":"https://rhn.redhat.com/errata/RHSA-2013-0544.html","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2012-6109.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h77x-m5q8-c29h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-6109","tags":["advisory"]},{"url":"https://github.com/rack/rack","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2012-6109","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6109","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-6109","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.","status":"published","published":"2013-03-01T02:00:00Z","modified":"2024-08-06T21:28:39.3Z","updated_at":"2026-11-02T14:34:51.269982Z"}],"euvd":[{"id":"EUVD-2017-0248","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.","status":"published","published":"2013-03-01T02:00:00Z","modified":"2024-08-06T21:28:39Z","updated_at":"2026-11-03T01:56:02.409289Z"}],"ghsa":[{"id":"GHSA-h77x-m5q8-c29h","title":"Rack vulnerable to REDoS","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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-08-25T23:23:24Z","cwes":["CWE-835"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2012-6109","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.","status":"published","published":"2013-03-01T05:40:16.863Z","modified":"2026-06-16T23:47:50.59Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:17.375282Z"}],"osv":[{"id":"CVE-2012-6109","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.","status":"published","published":"2013-03-01T05:40:16Z","modified":"2026-04-10T03:42:35.012534Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-6109","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.","status":"published","published":"2013-03-01T05:40:16.863Z","modified":"2026-10-23T17:47:22.886505678Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"GHSA-h77x-m5q8-c29h","title":"Rack vulnerable to REDoS","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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-11-29T05:40:18.610572Z","cwes":["CWE-835"],"updated_at":"2026-11-02T15:46:48.920784Z"},{"id":"UBUNTU-CVE-2012-6109","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.","status":"published","published":"2013-03-01T05:40:00Z","modified":"2025-07-16T07:31:04.351088Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
