CVE-2026-56764
lowPriorität · verfolgen · 0EPSS 0.003 · 22. PerzentilEUUSEPSS · bewertet 2026-10-26
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.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · low–medium · 1.7–6.3
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (2)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-gq3j-xvxp-8hrfHono added timing comparison hardening in basicAuth and bearerAuth2026-02-19ghsa · osvUS
## Summary The `basicAuth` and `bearerAuth` middlewares previously used a comparison that was not fully timing-safe. The `timingSafeEqual` function used normal string equality (`===`) when comparing hash values. This comparison may stop early if values differ, which can theoretically cause small timing differences. The implementation has been updated to use a safer comparison method. ## Details The issue was caused by the use of normal string equality (`===`) when comparing hash values inside the `timingSafeEqual` function. In JavaScript, string comparison may stop as soon as a difference is found. This means the comparison time can slightly vary depending on how many characters match. Under very specific and controlled conditions, this behavior could theoretically allow timing-based analysis. The implementation has been updated to: - Avoid early termination during comparison - Use a constant-time-style comparison method ## Impact This issue is unlikely to be exploited in normal environments. It may only be relevant in highly controlled situations where precise timing measurements are possible. This change is considered a security hardening improvement. Users are encouraged to upgrade to the latest version.
auch bekannt als (3)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (6)
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrfcnnvd
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middlewarecnnvd
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrfenisa_euvd
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middlewareenisa_euvd
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrfnvd
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middlewarenvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan