Vulnerability CVE-2019-14318


Published: 2019-07-30

Description:
Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This allows a local or remote attacker, able to measure the duration of hundreds to thousands of signing operations, to compute the private key used. The issue occurs because scalar multiplication in ecp.cpp (prime field curves, small leakage) and algebra.cpp (binary field curves, large leakage) is not constant time and leaks the bit length of the scalar among other information.

Type:

CWE-417

(Channel and Path Errors)

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Cryptopp -> Crypto++ 

 References:
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html
https://eprint.iacr.org/2011/232.pdf
https://github.com/weidai11/cryptopp/issues/869
https://tches.iacr.org/index.php/TCHES/article/view/7337

Copyright 2021, cxsecurity.com

 

Back to Top