Back to CVE catalog
CVE-2018-20187

Side-channel issue in Botan ECC key generation

botan_project botan

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS summary v3.0

5.9Medium
Published:
Updated:
EPSS:
1.525%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:botan_projectbotanAffected versions:
< 2.9.0Show full version range for botan
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–1 of 1 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.9 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE-2018-20187 · OSV (source-vector)5.9 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences