Description
H3 is a minimal H(TTP) framework. Versions 2.0.1-beta.0 through 2.0.0-rc.8 contain a Timing Side-Channel vulnerability in the requireBasicAuth function due to the use of unsafe string comparison (!==). This allows an attacker to deduce the valid password character-by-character by measuring the server's response time, effectively bypassing password complexity protections. This issue is fixed in version 2.0.1-rc.9.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| h3js | h3 | >= 2.0.1-beta.0, < 2.0.1-rc.9 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | h3 | >= 2.0.0-beta.0, < 2.0.1-rc.9 | 2.0.1-rc.9 | GHSA-26f5-8h2x-34xh |