{"id":"UBUNTU-CVE-2015-7576","details":"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.","modified":"2025-07-16T08:11:43.610594Z","published":"2016-02-16T02:59:00Z","withdrawn":"2025-07-18T16:43:17Z","upstream":["CVE-2015-7576"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-7576"},{"type":"REPORT","url":"https://marc.info/?l=oss-security&m=145375027528562&w=2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-7576"}],"affected":[{"package":{"name":"rails","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rails@2:4.2.6-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.6-1"}]}],"versions":["2:4.1.10-1","2:4.2.5-1","2:4.2.5.1-1","2:4.2.5.2-2"],"ecosystem_specific":{"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"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-7576.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}