Vulnerability Name:

CVE-2018-20187 (CCN-158360)

Assigned:2018-12-17
Published:2018-12-17
Updated:2019-03-12
Summary: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.
CVSS v3 Severity:5.9 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
5.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.4 Medium (CCN CVSS v2 Vector: AV:N/AC:H/Au:N/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-320
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2018-20187

Source: MISC
Type: Release Notes, Vendor Advisory
https://botan.randombit.net/news.html

Source: CCN
Type: Botan Web site
Security Advisories

Source: MISC
Type: Vendor Advisory
https://botan.randombit.net/security.html

Source: XF
Type: UNKNOWN
botan-cve201820187-info-disc(158360)

Source: MISC
Type: Not Applicable, Third Party Advisory
https://github.com/crocs-muni/ECTester

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-20187

Vulnerable Configuration:Configuration 1:
  • cpe:/a:botan_project:botan:*:*:*:*:*:*:*:* (Version < 2.9.0)

  • Configuration CCN 1:
  • cpe:/a:botan_project:botan:1.11.20:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:111882
    P
    Botan-2.18.1-1.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105462
    P
    Botan-2.18.1-1.3 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.disco:def:2018201870000000
    V
    CVE-2018-20187 on Ubuntu 19.04 (disco) - medium.
    2019-03-08
    oval:com.ubuntu.bionic:def:201820187000
    V
    CVE-2018-20187 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-08
    oval:com.ubuntu.cosmic:def:2018201870000000
    V
    CVE-2018-20187 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-08
    oval:com.ubuntu.cosmic:def:201820187000
    V
    CVE-2018-20187 on Ubuntu 18.10 (cosmic) - medium.
    2019-03-08
    oval:com.ubuntu.bionic:def:2018201870000000
    V
    CVE-2018-20187 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-03-08
    oval:com.ubuntu.trusty:def:201820187000
    V
    CVE-2018-20187 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-03-08
    oval:com.ubuntu.xenial:def:2018201870000000
    V
    CVE-2018-20187 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-08
    oval:com.ubuntu.xenial:def:201820187000
    V
    CVE-2018-20187 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-03-08
    BACK
    botan_project botan *
    botan_project botan 1.11.20