CVEvulnerability

CVE-2021-43298

9.8 CRITICAL Published 2022-01-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-01-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-208, CWE-307

Description

The code that performs password matching when using 'Basic' HTTP authentication does not use a constant-time memcmp and has no rate-limiting. This means that an unauthenticated network attacker can brute-force the HTTP basic password, byte-by-byte, by recording the webserver's response time until the unauthorized (401) response.

Affected configurations

• embedthis goahead (< 5.1.4)

Related

Weakness · CWE (2)

  • CWE-208 Observable Timing Discrepancy weakness
  • CWE-307 Improper Restriction of Excessive Authentication Attempts weakness

References