PT-2021-23829 · Crypto+++1 · Crypto+++1

Yuaacindy

·

Published

2021-11-04

·

Updated

2024-08-04

·

CVE-2021-43398

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Crypto++ (aka Cryptopp) versions 8.6.0 and earlier
Description The issue concerns a timing leakage in the MakePublicKey() function, where there is a correlation between execution time and private key length. This could potentially allow attackers to conduct timing attacks and disclose the length information of the private key. However, it's noted that this report is disputed by the vendor and multiple third parties, stating that the execution-time differences are intentional and part of a tradeoff between strength and performance, with the leaked information being of minimal value.
Recommendations For Crypto++ (aka Cryptopp) versions 8.6.0 and earlier, consider updating to a version where this issue is addressed, although the dispute suggests the impact may be minimal. As a temporary workaround, users may need to weigh the tradeoffs between key strength and performance, potentially choosing stronger keys at the cost of performance. However, without a clear resolution or patch noted, the primary advice would be to await further guidance from the vendor or security community. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Side Channel Attack

Weakness Enumeration

Related Identifiers

ALT-PU-2023-5042
CVE-2021-43398

Affected Products

Alt Linux
Crypto++