p PatchFirst

CVE-2019-18840

CVE-2019-18840

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 2.0% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • wolfssl Debian:12

    Affected ranges
    • ECOSYSTEM: < 4.2.0+dfsg-3

    Update to 4.2.0+dfsg-3

  • wolfssl Debian:13

    Affected ranges
    • ECOSYSTEM: < 4.2.0+dfsg-3

    Update to 4.2.0+dfsg-3

  • wolfssl Ubuntu:20.04:LTS

    Versions
    • 4.1.0+dfsg-2
    • 4.2.0+dfsg-1
    • 4.2.0+dfsg-2
    Affected ranges
    • ECOSYSTEM: < 4.2.0+dfsg-3

    Update to 4.2.0+dfsg-3

Original sources

Check your server →