{"api_version":"1","generated_at":"2026-04-22T23:08:39+00:00","cve":"CVE-2021-43398","urls":{"html":"https://cve.report/CVE-2021-43398","api":"https://cve.report/api/cve/CVE-2021-43398.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43398","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43398"},"summary":{"title":"CVE-2021-43398","description":"** DISPUTED ** Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-11-04 21:15:00","updated_at":"2023-11-07 03:39:00"},"problem_types":["CWE-203"],"metrics":[],"references":[{"url":"https://github.com/weidai11/cryptopp/issues/1080","name":"https://github.com/weidai11/cryptopp/issues/1080","refsource":"MISC","tags":[],"title":"Dangerous Correlation Between Key Length and Execution Time  · Issue #1080 · weidai11/cryptopp · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222","name":"https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222","refsource":"MISC","tags":[],"title":"Dangerous Correlation Between Key Length and Execution Time  · Issue #1080 · weidai11/cryptopp · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cryptopp.com","name":"https://cryptopp.com","refsource":"MISC","tags":[],"title":"Crypto++ Library 8.6 | Free C++ Class Library of Cryptographic Schemes","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43398","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43398","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43398","vulnerable":"1","versionEndIncluding":"8.6.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cryptopp","cpe5":"crypto\\+\\+","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-43398","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/weidai11/cryptopp/issues/1080","refsource":"MISC","name":"https://github.com/weidai11/cryptopp/issues/1080"},{"url":"https://cryptopp.com","refsource":"MISC","name":"https://cryptopp.com"},{"refsource":"MISC","name":"https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222","url":"https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222"}]}},"nvd":{"publishedDate":"2021-11-04 21:15:00","lastModifiedDate":"2023-11-07 03:39:00","problem_types":["CWE-203"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"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:cryptopp:crypto\\+\\+:*:*:*:*:*:*:*:*","versionEndIncluding":"8.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43398","Ordinal":"220455","Title":"CVE-2021-43398","CVE":"CVE-2021-43398","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43398","Ordinal":"1","NoteData":"Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"43398","Ordinal":"2","NoteData":"2021-11-04","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"43398","Ordinal":"3","NoteData":"2021-11-04","Type":"Other","Title":"Modified"}]}}}