Minerva: libgcrypt ECDSA timing leaks nonce bit lengths
Libgcrypt scalar multiplication ran for a nonce-dependent number of iterations, allowing signing duration to reveal ECDSA nonce bit lengths that lattice analysis can combine into recovery of the long-term private key.
- Product
- Libgcrypt ECDSA implementation
- Vendor
- GnuPG Project
- Affected
- Libgcrypt ECDSA releases from 1.3.0 through 1.8.4 according to the Minerva research; distribution package ranges vary
- Fixed in
- Libgcrypt 1.8.5 or a vendor package carrying the ECDSA timing mitigation and improved unblinding
- Weakness
- CWE-203
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Published
- 25 Sep 2019
Classified as
References
Related CVEs
- CVE-2023-20569medium 4.72023
Inception: transient calls poison future return prediction
Phantom speculation can make a non-branch instruction appear as a recursive call, allowing transient execution itself to overflow the return predictor with an attacker-controlled target that a later victim return follows.
- CVE-2022-4304medium 5.92023
Marvin: OpenSSL RSA big-number timing reveals plaintext
OpenSSL private RSA processing normalized big numbers in time that depended on high zero words in the decrypted result, creating a network-observable oracle across PKCS#1 v1.5, OAEP, and RSASVE that adaptive ciphertexts could use to recover plaintext.
- CVE-2020-1968low 3.72020
Raccoon: reused TLS DH secrets turn timing into plaintext recovery
OpenSSL 1.0.2 could reuse a finite-field DH private value while TLS processing exposed whether the resulting shared secret began with zero bytes, allowing adaptive timing probes to target one long-lived exponent and recover connection secrets.
- CVE-2017-5753medium 5.62018
Spectre v1: bounds-check bypass via speculative execution (CVE-2017-5753)
A bounds-checked array access runs speculatively before the check resolves, so an attacker-chosen out-of-bounds index reads adjacent memory and imprints one byte of it into the CPU cache, recoverable by timing.