Live threats

All CVEs / Expressjs

CVE-2024-47178Expressjs Basic-auth-connect

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
No
Published
Sep 30, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-208
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS: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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Basic-auth-connect.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm basic-auth-connect < 1.1.0 1.1.0 npm install basic-auth-connect@1.1.0

Per OSV / GitHub Advisories (GHSA-7p89-p6hx-q4fw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
expressjsbasic-auth-connect< 1.1.0

Official sources

References

Links published by the sources. Open them with care.