|Ruby on Rails DoS Vulnerability in authenticate_or_request_with_http_digest (CVE-2012-3424)||Aaron Patterson||7/26/12 3:14 PM|
DoS Vulnerability in authenticate_or_request_with_http_digest
There is a DoS vulnerability in Action Pack digest authentication handling in Rails.
This vulnerability has been assigned the CVE identifier CVE-2012-3424.
Versions Affected: 3.x.
Not affected: 2.3.5 - 2.3.14
Fixed Versions: 3.0.16, 3.1.7, 3.2.7
All users using Digest Authentication support in Rails should upgrade
immediately. Impacted code uses any of the `with_http_digest` controller
helper methods. For example:
class MyController < ApplicationController
authenticate_or_request_with_http_digest(REALM) do |uname|
The 3.0.16, 3.1.7 & 3.2.7 releases are available at the normal locations.
There are no feasible workarounds for this issue.
To aid users who aren't able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
* 3-0-digest_auth_dos.patch - Patch for 3.0 series
* 3-1-digest_auth_dos.patch - Patch for 3.1 series
* 3-2-digest_auth_dos.patch - Patch for 3.2 series
Please note that only the 3.1.x and 3.2.x series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.
Thanks to Charlie Somerville for reporting this issue!