{"api_version":"1","generated_at":"2026-04-23T07:57:03+00:00","cve":"CVE-2021-43298","urls":{"html":"https://cve.report/CVE-2021-43298","api":"https://cve.report/api/cve/CVE-2021-43298.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43298","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43298"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security@jfrog.com","published_at":"2022-01-25 20:15:00","updated_at":"2022-02-01 13:46:00"},"problem_types":["CWE-307"],"metrics":[],"references":[{"url":"https://github.com/embedthis/goahead/issues/304","name":"https://github.com/embedthis/goahead/issues/304","refsource":"MISC","tags":[],"title":"Constant time password comparisons · Issue #304 · embedthis/goahead · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43298","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43298","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43298","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"embedthis","cpe5":"goahead","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-43298","ASSIGNER":"security@jfrog.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"embedthis","product":{"product_data":[{"product_name":"goahead","version":{"version_data":[{"version_name":"","version_affected":"<","version_value":"5.1.4","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-208"}]}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/embedthis/goahead/issues/304","name":"https://github.com/embedthis/goahead/issues/304"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","version":"3.1"}}},"nvd":{"publishedDate":"2022-01-25 20:15:00","lastModifiedDate":"2022-02-01 13:46:00","problem_types":["CWE-307"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:embedthis:goahead:*:*:*:*:*:*:*:*","versionEndExcluding":"5.1.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43298","Ordinal":"220356","Title":"CVE-2021-43298","CVE":"CVE-2021-43298","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43298","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}