CVE-2018-20187 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...
MediumCVSS 5.9
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/botan(Debian:12) | < 2.9.0-2 | 2.9.0-2 |
| debian/botan(Debian:13) | < 2.9.0-2 | 2.9.0-2 |
| botan project botan | < 2.9.0 | 2.9.0 |
| alpine/botan(Alpine:v3.10) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.11) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.12) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.13) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.14) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.15) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.16) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.17) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.18) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.19) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.20) | < 2.9.0-r0 | 2.9.0-r0 |
| alpine/botan(Alpine:v3.21) | < 2.9.0-r0 | 2.9.0-r0 |
References
- Debian Security Tracker CVE-2018-20187 vendor-advisory
- botan.randombit.net release-notes vendor-advisory
- botan.randombit.net vendor-advisory
- github.com not-applicable third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking