Name | CVE-2015-7576 |
Description | The http_basic_authenticate_with method in actionpack/lib/action_controller/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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-604-1, DSA-3464-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rails (PTS) | buster | 2:5.2.2.1+dfsg-1+deb10u3 | fixed |
buster (security) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed | |
bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed | |
bookworm, sid | 2:6.1.7.3+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rails | source | squeeze | (unfixed) | end-of-life | ||
rails | source | wheezy | (not affected) | |||
rails | source | jessie | 2:4.1.8-1+deb8u1 | DSA-3464-1 | ||
rails | source | (unstable) | 2:4.2.5.1-1 | |||
ruby-actionpack-2.3 | source | wheezy | (unfixed) | end-of-life | ||
ruby-actionpack-2.3 | source | (unstable) | (unfixed) | |||
ruby-actionpack-3.2 | source | wheezy | 3.2.6-6+deb7u3 | DLA-604-1 | ||
ruby-actionpack-3.2 | source | (unstable) | (unfixed) | |||
ruby-activesupport-2.3 | source | wheezy | (unfixed) | end-of-life | ||
ruby-activesupport-2.3 | source | (unstable) | (unfixed) | |||
ruby-activesupport-3.2 | source | wheezy | (not affected) | |||
ruby-activesupport-3.2 | source | (unstable) | (unfixed) |
[wheezy] - rails <not-affected> (Vulnerable code not present, is only a transitional package)
[squeeze] - rails <end-of-life> (Not supported in Squeeze LTS)
[wheezy] - ruby-activesupport-3.2 <not-affected> (Vulnerable code not present)
https://github.com/rails/rails/commit/a6fa3960c3a149e83eb2ff057be4472a82958e3d