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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-604-1, DSA-3464-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)bullseye (security), bullseye2:6.0.3.7+dfsg-2+deb11u2fixed
bookworm2:6.1.7.3+dfsg-2~deb12u1fixed
sid, trixie2:6.1.7.3+dfsg-4fixed

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

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

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