VDB
Sign up
MEDIUM

GHSA-92w9-2pqw-rhjj

actionpack Improper Authentication vulnerability

Quick fix

GHSA-92w9-2pqw-rhjj — actionpack: upgrade to the fixed version with the command below.

bundle update actionpack

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/actionpack
Introduced in: 3.0.0.betaFixed in: 3.0.16
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.1.0Fixed in: 3.1.7
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.2.0Fixed in: 3.2.7
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 0Fixed in: 2.3.5
Fixbundle update actionpack

References