DEBIAN-CVE-2019-18840

    Dashboard / Vulnerabilities / DEBIAN-CVE-2019-18840

    DEBIAN-CVE-2019-18840

    Published: 9 Nov 2019Last Modified: 21 Sept 2026
    Upstream:

    Summary:

    Details: In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data while handshaking. Specifically, there is a one-byte heap-based buffer overflow inside the DecodedCert structure in GetName in wolfcrypt/src/asn.c because the domain name location index is mishandled. Because a pointer is overwritten, there is an invalid free.

    Affected packages

    Package

    Name: wolfssl

    Purl: pkg:deb/debian/wolfssl?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.0+dfsg-3

    Affected versions

    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
    DEBIAN-CVE-2019-18840 | CVE-DB