GitHub Advisoryadvisory · RubyGems

GHSA-92w9-2pqw-rhjj actionpack Improper Authentication vulnerability

MEDIUM Published 2017-10-24 Modified 2025-01-22 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