GitHub Advisoryadvisory · RubyGems
GHSA-92w9-2pqw-rhjj actionpack Improper Authentication vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2012-3424
- Ecosystem
- RubyGems
- Packages
- actionpack
- Severity
- Moderate
- Weaknesses
- CWE-287
- Reviewed
- 2020-06-16
Affected packages
• RubyGems actionpack: >= 3.0.0.beta, < 3.0.16 → fixed in 3.0.16
• RubyGems actionpack: >= 3.1.0, < 3.1.7 → fixed in 3.1.7
• RubyGems actionpack: >= 3.2.0, < 3.2.7 → fixed in 3.2.7
• RubyGems actionpack: < 2.3.5 → fixed in 2.3.5
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.
Related
Alias · CVE (1)
- CVE-2012-3424 The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails 3.x before 3.0.16, 3.1.x… vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3424 advisory
- https://github.com/rails/rails/commit/3719bd3e95523c5518507dbe44f260f252930600 web
- https://github.com/rails/rails package
- https://groups.google.com/group/rubyonrails-security/msg/244d32f2fa25147d?hl=en&dmode=source&output=gplain web
- http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html web
- http://rhn.redhat.com/errata/RHSA-2013-0154.html web
- http://weblog.rubyonrails.org/2012/7/26/ann-rails-3-2-7-has-been-released web