CVE-2019-18840

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

High · published November 9, 2019

CVSS v3.0
7.5
EPSS
2%
Percentile
80.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.01972 · 80.3th percentile
Published
2019-11-09T12:58Z
EPSS history
Timeline
  • 09 NOV 12:58Z
    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
    cvelistv5