CVE-2024-47178

basic-auth-connect's callback uses time unsafe string comparison

State
Published
Severity
8.7 High
Published
Sep 30, 2024
Updated
Sep 30, 2024
Reserved
Sep 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
basic-auth-connectexpressjs
  • < 1.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.