{"id":"CVE-2021-43298","aliases":["EUVD-2021-30241","GHSA-cfh2-3f5r-4vf9"],"status":"published","title":"The code that performs password matching when using 'Basic' HTTP authentication does not use a...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02256,"percentile":0.83199,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-208","CWE-307"],"published":"2022-01-25T19:11:17Z","modified":"2026-06-17T04:10:48Z","products":[{"vendor":"embedthis","product":"goahead"}],"references":[{"url":"https://github.com/embedthis/goahead/issues/304","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43298"},{"url":"https://github.com/advisories/GHSA-cfh2-3f5r-4vf9"}],"sources":{"cve":[{"id":"CVE-2021-43298","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.","status":"published","published":"2022-01-25T19:11:17Z","modified":"2024-08-04T03:55:28.938Z","cwes":["CWE-208"],"updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-30241","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.","status":"published","published":"2022-01-25T19:11:17Z","modified":"2024-08-04T03:55:28Z","updated_at":"2026-11-03T03:24:14.245608Z"}],"ghsa":[{"id":"GHSA-cfh2-3f5r-4vf9","title":"The code that performs password matching when using 'Basic' HTTP authentication does not use a...","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.","status":"published","published":"2022-01-26T00:00:58Z","modified":"2023-02-03T05:05:09Z","cwes":["CWE-307"],"updated_at":"2026-11-02T14:53:41.500507Z"}],"nvd":[{"id":"CVE-2021-43298","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.","status":"published","published":"2022-01-25T20:15:08.51Z","modified":"2026-06-17T04:10:48.673Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-208","CWE-307"],"updated_at":"2026-11-02T14:07:03.821385Z"}]}}
