ALPINE-CVE-2018-20187

    Dashboard / Vulnerabilities / ALPINE-CVE-2018-20187

    ALPINE-CVE-2018-20187

    Published: 8 Mar 2019Last Modified: 19 Nov 2025
    Upstream:

    Summary:

    Details: 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 packages

    Package

    Name: botan

    Purl: pkg:apk/alpine/botan?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.9.0-r0

    Affected versions

    2.4.0-r0
    2.4.0-r1
    2.4.0-r2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High