CVEvulnerability
CVE-2021-43398
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-11-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-203
Description
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
Affected configurations
• cryptopp crypto\+\+ (<= 8.6.0)
Related
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://cryptopp.com Vendor Advisory
- https://github.com/weidai11/cryptopp/issues/1080 Exploit, Third Party Advisory
- https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222 Exploit, Issue Tracking, Third Party Advisory
- https://cryptopp.com Vendor Advisory
- https://github.com/weidai11/cryptopp/issues/1080 Exploit, Third Party Advisory
- https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222 Exploit, Issue Tracking, Third Party Advisory