Description (CNA)
Hono before 4.11.10 contains a timing attack vulnerability in the basicAuth and bearerAuth middlewares due to non-constant-time string comparison in the timingSafeEqual function. Attackers can exploit early termination of string equality checks to infer valid credentials through precise timing measurements.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Hono / Hono | affected 0 before 4.11.10; unaffected 4.11.10 |
CWE
CWE-208
References
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware
ADP enrichment
No English description supplied.
No references supplied.