CVE-2018-20187
CVE-2018-20187 is a medium-severity vulnerability in Botan Project Botan with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-320.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v2: 4.3
- EPSS exploit prediction: 2% (72nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-320
- Affected product: Botan Project Botan
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 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.
- How severe is CVE-2018-20187?
- CVE-2018-20187 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2018-20187 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-20187?
- CVE-2018-20187 affects Botan Project Botan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-20187?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2018-20187 published?
- CVE-2018-20187 was published on 2019-03-08 and last updated on 2026-06-17.
References
- https://botan.randombit.net/news.html
- https://botan.randombit.net/security.html
- https://github.com/crocs-muni/ECTester
Affected products (1)
- cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
More vulnerabilities in Botan Project Botan
- CVE-2021-24115 — Critical (CVSS 9.8): In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32,…
- CVE-2018-9127 — Critical (CVSS 9.8): Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as…
- CVE-2016-6878 — Critical (CVSS 9.8): The Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to…
- CVE-2015-7826 — Critical (CVSS 9.8): botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers…
- CVE-2016-9132 — Critical (CVSS 9.8): In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect…
- CVE-2016-2196 — Critical (CVSS 9.8): Heap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to…
All CVEs affecting Botan Project Botan →
Other CWE-320 vulnerabilities
- CVE-2016-10467 — Critical (CVSS 9.8): In Android before 2018-04-05 or earlier security patch level on Qualcomm Snapdragon Automobile and Snapdragon Mobile SD…
- CVE-2016-10421 — Critical (CVSS 9.8): In Android before 2018-04-05 or earlier security patch level on Qualcomm Snapdragon Mobile and Snapdragon Wear MDM9206,…
- CVE-2018-0124 — Critical (CVSS 9.8): A vulnerability in Cisco Unified Communications Domain Manager could allow an unauthenticated, remote attacker to…
- CVE-2015-0936 — Critical (CVSS 9.8): Ceragon FibeAir IP-10 have a default SSH public key in the authorized_keys file for the mateidu user, which allows…
- CVE-2015-4166 — Critical (CVSS 9.8): Cloudera Key Trustee Server before 5.4.3 does not store keys synchronously, which might allow attackers to have…
- CVE-2024-36391 — Critical (CVSS 9.1): MileSight DeviceHub - CWE-320: Key Management Errors may allow Authentication Bypass and Man-In-The-Middle Traffic