Observable Timing Discrepancy Affecting basic-auth-connect package, versions <1.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-BASICAUTHCONNECT-8136828
  • published1 Oct 2024
  • disclosed30 Sept 2024
  • creditAdamKorcz

Introduced: 30 Sep 2024

CVE-2024-47178  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade basic-auth-connect to version 1.1.0 or higher.

Overview

basic-auth-connect is a Basic auth middleware for node and connect

Affected versions of this package are vulnerable to Observable Timing Discrepancy due to the use of a timing-unsafe equality comparison. An attacker can infer sensitive data.

References

CVSS Scores

version 4.0
version 3.1