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.
References
Link | Resource |
---|---|
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html | |
http://www.openwall.com/lists/oss-security/2019/10/02/2 | |
https://eprint.iacr.org/2011/232.pdf | Exploit Third Party Advisory |
https://github.com/weidai11/cryptopp/issues/869 | Patch Third Party Advisory |
https://minerva.crocs.fi.muni.cz/ | |
https://tches.iacr.org/index.php/TCHES/article/view/7337 | Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html | |
http://www.openwall.com/lists/oss-security/2019/10/02/2 | |
https://eprint.iacr.org/2011/232.pdf | Exploit Third Party Advisory |
https://github.com/weidai11/cryptopp/issues/869 | Patch Third Party Advisory |
https://minerva.crocs.fi.muni.cz/ | |
https://tches.iacr.org/index.php/TCHES/article/view/7337 | Third Party Advisory |
Configurations
History
21 Nov 2024, 04:26
Type | Values Removed | Values Added |
---|---|---|
References | () http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html - | |
References | () http://www.openwall.com/lists/oss-security/2019/10/02/2 - | |
References | () https://eprint.iacr.org/2011/232.pdf - Exploit, Third Party Advisory | |
References | () https://github.com/weidai11/cryptopp/issues/869 - Patch, Third Party Advisory | |
References | () https://minerva.crocs.fi.muni.cz/ - | |
References | () https://tches.iacr.org/index.php/TCHES/article/view/7337 - Third Party Advisory |
Information
Published : 2019-07-30 17:15
Updated : 2024-11-21 04:26
NVD link : CVE-2019-14318
Mitre link : CVE-2019-14318
CVE.ORG link : CVE-2019-14318
JSON object : View
Products Affected
cryptopp
- crypto\+\+
CWE
CWE-417
Communication Channel Errors