CVE-2024-47178: expressjs basic-auth-connect Observable Timing Discrepancy
CVSS: 8.7v4.0HighAnalyzed
AliasesGHSA-7p89-p6hx-q4fw
Published 30-09-2024Last modified 30-09-2024
Vulnerability summary
CVE-2024-47178 is a high (CVSS 8.7) Observable Timing Discrepancy vulnerability in expressjs basic-auth-connect. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.1% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
8.7/10
010
High · v4.0 (CVE.org)EPSS score
0.52%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 30-09-2024PublishedVulnerability first disclosed.
- 30-09-2024Last modifiedVulnerability information updated.
Description
basic-auth-connect is Connect's Basic Auth middleware in its own module. basic-auth-connect < 1.1.0 uses a timing-unsafe equality comparison that can leak timing information. This issue has been fixed in basic-auth-connect 1.1.0.
CVSS metrics
5 scores · 3 sources · 2 versionsHigh 8.7Preferred score · CVE.org (CNA)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NSourcesAll 3 agree
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
High 7.5Preferred score · OSV · Npm (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NSources2 sources · 5.3–7.5
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.52% on 20-09-2026
20-09-202620-10-2026
EPSS score0.52%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundBasic Auth Connect
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Expressjs1 product
- basic-auth-connect< 1.1.0
Npm1 product
- basic-auth-connect< 1.1.0
2 vendors · 2 products
References
4 links- github.com/expressjs/basic-auth-connect/security/advisories/GHSA-7p89-p6hx-q4fwX Refsource CONFIRMWEBExploitThird Party Advisory
- github.com/expressjs/basic-auth-connect/commit/bac1e6a8530e1efd0028800b9b588a37adb0d203X Refsource MISCWEBPatch