Read the docs
TI-2019-16145 Aliases GHSA-c35v-qwqg-87jc

express-basic-auth Timing Attack due to native string comparison instead of constant time string comparison

Priority LOW 38CWE-208Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-208.

Summary

Versions of `express-basic-auth` prior to 1.1.7 are vulnerable to Timing Attacks. The package uses native string comparison instead of a constant time string comparison, which may lead to Timing Attacks. Timing Attacks can be used to increase the efficiency of brute-force attacks by removing the exponential increase in entropy gained from longer secrets. ## Recommendation Upgrade to version 1.1.7 or later.

Why it matters now

Fix Fixed express-basic-auth (npm): 1.1.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—express-basic-auth (npm)before 1.1.71.1.7Patch availableGHSA-c35v-qwqg-87jc
  • express-basic-auth (npm) Vendor— Affected before 1.1.7 Fixed in 1.1.7 Patch available GHSA-c35v-qwqg-87jc

Remediation

  • Fix · GHSA-c35v-qwqg-87jc express-basic-auth (npm) Fixed in 1.1.7 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-c35v-qwqg-87jc

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences