CVE-2018-20187
published 2019-03-08CVE-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…
PriorityP431medium5.9CVSS 3.0
AVNACHPRNUINSUCHINAN
EPSS
1.52%
72.1th percentile
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
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| botan_project | botan | < 2.9.0 | 2.9.0 |
| botan_project | botan | >= 0 < 2.9.0-2 | 2.9.0-2 |
| botan_project | botan | >= 0 < 2.9.0-2 | 2.9.0-2 |
| botan_project | botan | >= 0 < 2.9.0-2 | 2.9.0-2 |
| debian | botan | < botan 2.9.0-2 (bookworm) | botan 2.9.0-2 (bookworm) |
CVSS provenance
nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv5.9MEDIUM
vendor_debian5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2018-20187: botan - A side-channel issue was discovered in Botan before 2.9.0. An attacker capable o...
vendor_debian·2018·CVSS 5.9
CVE-2018-20187 [MEDIUM] CVE-2018-20187: botan - A side-channel issue was discovered in Botan before 2.9.0. An attacker capable o...
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.
Scope: local
bookworm: resolved (fixed in 2.9.0-2)
bullseye: resolved (fixed in 2.9.0-2)
trixie: resolved (fixed in 2.9.0-2)
GHSA
GHSA-g9j4-hp3j-g668: A side-channel issue was discovered in Botan before 2
ghsa_unreviewed·2022-05-24
CVE-2018-20187 [MEDIUM] GHSA-g9j4-hp3j-g668: A side-channel issue was discovered in Botan before 2
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.
OSV
CVE-2018-20187: A side-channel issue was discovered in Botan before 2
osv·2019-03-08·CVSS 5.9
CVE-2018-20187 [MEDIUM] CVE-2018-20187: A side-channel issue was discovered in Botan before 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-20187 botan: Side channel possible during ECC generation
bugzilla·2019-01-09·CVSS 5.9
CVE-2018-20187 [MEDIUM] CVE-2018-20187 botan: Side channel possible during ECC generation
CVE-2018-20187 botan: Side channel possible during ECC generation
It was found that a possible Timing side channel during ECC key generation could leak information.
Upstream PR:
https://github.com/randombit/botan/pull/1792
Upstream patch:
https://github.com/randombit/botan/pull/1792/commits/70aa7303acfff9eefc24598c289a84db3579ebd1
Discussion:
Created botan2 tracking bugs for this issue:
Affects: fedora-all [bug 1664599]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2018-20187 botan2: botan: Side channel possible during ECC generation [fedora-all]
bugzilla·2019-01-09·CVSS 5.9
CVE-2018-20187 [MEDIUM] CVE-2018-20187 botan2: botan: Side channel possible during ECC generation [fedora-all]
CVE-2018-20187 botan2: botan: Side channel possible during ECC generation [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
2019-03-08
Published