CVE-2018-20187: Botan - Side Channel Attack
- Cve: CVE-2018-20187
- Name: Botan - Side Channel Attack
- 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.
- Impact: Attackers can potentially recover high bits of the secret key through timing analysis, compromising key confidentiality.
- Remediation: Update to version 2.9.0 or later.
- Vulnerability type: side_channel
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01525
- Epss percentile: 0.75335
- Assignee: [email protected]
- Published at: 2019-03-08T19:29:00Z
- Age in days: 2818
- Modified at: 2026-06-17T01:52:25Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20187
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-320 | — |
References
| Url | Source | Tags |
|---|---|---|
| https://botan.randombit.net/news.html | nvd | Release Notes, Vendor Advisory |
| https://botan.randombit.net/security.html | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| botan_project:botan | < 2.9.0 | no | nvd | /v1/products/botan_project/botan |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts