ADVISORIES

GitHub Advisory Database

GHSA-92w9-2pqw-rhjj

actionpack Improper Authentication vulnerability

Moderate CVE-2012-3424

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsactionpack
From 3.0.0.beta before 3.0.16 (fixed in 3.0.16)
RubyGemsactionpack
From 3.1.0 before 3.1.7 (fixed in 3.1.7)
RubyGemsactionpack
From 3.2.0 before 3.2.7 (fixed in 3.2.7)
RubyGemsactionpack
All versions before 2.3.5 (fixed in 2.3.5)

References