CVE-2019-18840
Published: 9 November 2019
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.
Priority
Status
Package | Release | Status |
---|---|---|
wolfssl Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(code not present)
|
disco |
Not vulnerable
(code not present)
|
|
eoan |
Ignored
(end of life)
|
|
focal |
Released
(4.2.0+dfsg-3)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.2.0+dfsg-3)
|
|
xenial |
Not vulnerable
(code not present)
|
|
Patches: upstream: https://github.com/wolfSSL/wolfssl/commit/52f28bd5149360f8e3bf8ca13d3fb9a77283df7c |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |