CVE-2024-47178 basic-auth-connect's callback uses time unsafe string comparison
HighCVSS 8.7
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| expressjs basic-auth-connect | < 1.1.0; = < 1.1.0 | 1.1.0 | Fixed |
| npm basic-auth-connect(npm) | < 1.1.0 | 1.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm basic-auth-connect(npm) | < 1.1.0 | 1.1.0 |
| expressjs basic-auth-connect | = < 1.1.0 | No fix listed |
| expressjs basic-auth-connect | < 1.1.0 | 1.1.0 |
References
- https://github.com/expressjs/basic-auth-connect/security/advisories/GHSA-7p89-p6hx-q4fw exploit third-party-advisory vendor-advisory
- https://github.com/expressjs/basic-auth-connect/commit/bac1e6a8530e1efd0028800b9b588a37adb0d203 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product