Candidate: CVE-2019-18840 PublicDate: 2019-11-09 13:15:00 UTC References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18840 https://github.com/wolfSSL/wolfssl/issues/2555 Description: 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. Ubuntu-Description: Notes: Mitigation: Bugs: Priority: medium Discovered-by: Assigned-to: CVSS: nvd: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H [7.5 HIGH] Patches_wolfssl: upstream: https://github.com/wolfSSL/wolfssl/commit/52f28bd5149360f8e3bf8ca13d3fb9a77283df7c upstream_wolfssl: released (4.2.0+dfsg-3) precise/esm_wolfssl: DNE trusty_wolfssl: ignored (out of standard support) trusty/esm_wolfssl: DNE xenial_wolfssl: not-affected (code not present) bionic_wolfssl: not-affected (code not present) disco_wolfssl: not-affected (code not present) eoan_wolfssl: ignored (reached end-of-life) focal_wolfssl: released (4.2.0+dfsg-3) devel_wolfssl: released (4.2.0+dfsg-3)