CVE-2015-7576
actionpack is vulnerable to remote bypass authentication
Reported by redhat · Published February 16, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rails | Ubuntu:16.04:LTS | 2:4.2.6-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | actionpack | 5.0.0.alpha, 4.2.0.alpha, 4.0.0.alpha |
Timeline
- Jan 25, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 18, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 18, 2026 Security Advisory (8 in total, the first dated here)
- May 6, 2026 CVE Updated
- Oct 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-7576
vulnetix vdb fixes CVE-2015-7576
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-7576/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20160125 [CVE-2015-7576] Timing attack vulnerability in basic authentication in Action Controller. mailing-listx_refsource_MLIST
- FEDORA-2016-3ede04cd79 vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2016:0372 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:0363 vendor-advisoryx_refsource_SUSE
- FEDORA-2016-94e71ee673 vendor-advisoryx_refsource_FEDORA
- 81803 vdb-entryx_refsource_BID
- FEDORA-2016-f486068393 vendor-advisoryx_refsource_FEDORA
- SUSE-SU-2016:1146 vendor-advisoryx_refsource_SUSE
- 1034816 vdb-entryx_refsource_SECTRACK
- DSA-3464 vendor-advisoryx_refsource_DEBIAN
- RHSA-2016:0296 vendor-advisoryx_refsource_REDHAT
- FEDORA-2016-cb30088b06 vendor-advisoryx_refsource_FEDORA
- [ruby-security-ann] 20160125 [CVE-2015-7576] Timing attack vulnerability in basic authentication in Action Controller. mailing-listx_refsource_MLIST
- https://groups.google.com/forum/#!topic/rubyonrails-security/ANv0HDHEC3k url