CVE-2015-7576

NameCVE-2015-7576
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-604-1, DSA-3464-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)wheezy2:2.3.14.2fixed
jessie (security), jessie2:4.1.8-1+deb8u4fixed
stretch2:4.2.7.1-1fixed
buster, sid2:4.2.9-4fixed
ruby-actionpack-2.3 (PTS)wheezy2.3.14-5vulnerable
ruby-actionpack-3.2 (PTS)wheezy3.2.6-6+deb7u2vulnerable
wheezy (security)3.2.6-6+deb7u3fixed
ruby-activesupport-2.3 (PTS)wheezy2.3.14-7vulnerable
ruby-activesupport-3.2 (PTS)wheezy3.2.6-6+deb7u1fixed
wheezy (security)3.2.6-6+deb7u3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssource(unstable)2:4.2.5.1-1medium
railssourcejessie2:4.1.8-1+deb8u1mediumDSA-3464-1
railssourcesqueeze(unfixed)end-of-life
railssourcewheezy(not affected)
ruby-actionpack-2.3source(unstable)(unfixed)medium
ruby-actionpack-2.3sourcewheezy(unfixed)end-of-life
ruby-actionpack-3.2source(unstable)(unfixed)medium
ruby-actionpack-3.2sourcewheezy3.2.6-6+deb7u3mediumDLA-604-1
ruby-activesupport-2.3source(unstable)(unfixed)medium
ruby-activesupport-2.3sourcewheezy(unfixed)end-of-life
ruby-activesupport-3.2source(unstable)(unfixed)medium
ruby-activesupport-3.2sourcewheezy(not affected)

Notes

[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

Search for package or bug name: Reporting problems