CVE-2018-20187
A side-channel issue was discovered in Botan before 2.9.0.
Published 7 y ago · modified 4 mo ago · JSON
Summary
A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.
Exploit prediction (EPSS)
1.52% probability of exploitation in the next 30 days, higher than 75% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
- CWE-320 Key Management Errors
References
- github.com /crocs-muni/ECTester · x_refsource_MISC, x_transferred
- botan.randombit.net /news.html · x_refsource_MISC, x_transferred
- botan.randombit.net /security.html · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2018-20187
- NVD: CVE-2018-20187
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.