The httpbasicauthenticatewith method in actionpack/lib/actioncontroller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, which makes it easier for remote attackers to bypass authentication by measuring timing differences.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2:4.2.6-1", "binary_name": "rails" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-actionmailer" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-actionpack" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-actionview" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-activejob" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-activemodel" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-activerecord" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-activesupport" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-rails" }, { "binary_version": "2:4.2.6-1", "binary_name": "ruby-railties" } ] }