CVE-2021-43298 in Embedthis Goahead
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 (4...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Embedthis | Goahead | < 5.1.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-43298 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-299661-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-01-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-208: CWE-208
CWE-307: CWE-307
Related attack patterns (CAPEC)
CAPEC-16 Dictionary-based Password Attack via CWE-307
CAPEC-462 Cross-Domain Search Timing via CWE-208
CAPEC-565 Password Spraying via CWE-307
CAPEC-49 Password Brute Forcing via CWE-307
CAPEC-541 Application Fingerprinting via CWE-208
Show all 10
CAPEC-580 System Footprinting via CWE-208
CAPEC-600 Credential Stuffing via CWE-307
CAPEC-652 Use of Known Kerberos Credentials via CWE-307
CAPEC-653 Use of Known Operating System Credentials via CWE-307
CAPEC-560 Use of Known Domain Credentials via CWE-307
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the password matching code for Basic HTTP authentication allows attackers to perform a timing attack to brute-force the password.
The vulnerability arises from the use of a non-constant-time memory comparison function (memcmp) for password verification, which can leak information about the correctness of the password through timing differences. Additionally, the lack of rate-limiting exacerbates the issue, allowing attackers to attempt many password guesses without being slowed down.
Questions
What is CVE-2021-43298?
A vulnerability in the password matching code for Basic HTTP authentication allows attackers to perform a timing attack to brute-force the password.
What is the CVSS score for CVE-2021-43298?
CVE-2021-43298 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.3%.
Is CVE-2021-43298 actively exploited?
No confirmed active exploitation of CVE-2021-43298 as of 2026-09-25.
How do I remediate CVE-2021-43298?
Priority: IMMEDIATE. Advisory: https://www.cisa.gov/news-events/ics-advisories/icsa-23-129-02
What systems are affected by CVE-2021-43298?
CVE-2021-43298 affects Embedthis Goahead.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Embedthis","product":"Goahead","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.