http_basic_authenticate_with method does not use a constant-time algorithm
Multiple products
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 4.879%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:rubyonrails | rails | Affected versions:4.0.0Show full version range for rails4.0.14.0.104.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.04.1.14.1.104.1.124.1.134.1.144.1.24.1.34.1.44.1.54.1.64.1.74.1.7.14.1.84.1.94.2.04.2.14.2.24.2.34.2.44.2.55.0.0 |
| Vendor:rubyonrails | ruby on rails | Affected versions:≤ 3.2.22Show full version range for ruby on rails4.0.104.0.114.0.11.14.0.124.0.134.1.11 |
| Vendor:Debian | railsEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-actionmailerEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-actionpackEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-actionviewEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-activejobEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-activemodelEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-activerecordEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
| Vendor:Debian | ruby-activesupportEnvironments (4)
| Affected versions: < 2:4.2.5.1-1 |
1–10 of 18 · Page 1 of 2
CVSS scores and metrics4
[email protected] · NVD (Primary)Primary3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Nnvd · Wazuh CTI (cna)3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:Nnvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories34
- cve.org
- NVD
- Wazuh CTI
- FIRST EPSS
- openwall.com
- securityfocus.com
- lists.opensuse.org
- securitytracker.com
- debian.org
- groups.google.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.opensuse.org
- lists.opensuse.org
- lists.fedoraproject.org
- rhn.redhat.com
- security-tracker.debian.org
- SUSE CVE-2015-7576
- SUSE-SU-2016:0435-1
- SUSE-SU-2016:0457-1
- SUSE-SU-2016:0600-1
- SUSE-SU-2016:0618-1
- SUSE-SU-2016:0623-1
- SUSE-SU-2016:0857-1
- SUSE-SU-2016:0858-1
- SUSE-SU-2016:0968-1
- SUSE-SU-2016:1146-1
- SUSE-SU-2017:0475-1
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- Mitre CVE-2015-7576
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences