Vulnerability advisory
GHSA-92w9-2pqw-rhjj
actionpack Improper Authentication vulnerability
Also known as CVE-2012-3424
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
3.0.0.beta to before 3.0.16 | 3.0.16Advisories → |
Also listed as affected (38) | |
3.1.0 to before 3.1.7 | 3.1.7Advisories → |
3.2.0 to before 3.2.7 | 3.2.7Advisories → |
| All versions before 2.3.5 | 2.3.5Advisories → |
Description
The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails before 3.0.16, 3.1.x before 3.1.7, and 3.2.x before 3.2.7 converts Digest Authentication strings to symbols, which allows remote attackers to cause a denial of service by leveraging access to an application that uses a with_http_digest helper method, as demonstrated by the authenticate_or_request_with_http_digest method.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2012-3424 ↗
- Webgithub.com/rails/rails/commit/3719bd3e95523c5518507dbe44f260f252930600 ↗
- Packagegithub.com/rails/rails ↗
- Webgroups.google.com/group/rubyonrails-security/msg/244d32f2fa25147d?hl=en&dmode=source&output=gplain ↗
- Weblists.opensuse.org/opensuse-updates/2012-08/msg00046.html ↗
- Webrhn.redhat.com/errata/RHSA-2013-0154.html ↗
- Webweblog.rubyonrails.org/2012/7/26/ann-rails-3-2-7-has-been-released ↗