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.
References
Link | Resource |
---|---|
https://github.com/wolfSSL/wolfssl/issues/2555 | Exploit Third Party Advisory |
https://github.com/wolfSSL/wolfssl/issues/2555 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 04:33
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/wolfSSL/wolfssl/issues/2555 - Exploit, Third Party Advisory |
Information
Published : 2019-11-09 13:15
Updated : 2024-11-21 04:33
NVD link : CVE-2019-18840
Mitre link : CVE-2019-18840
CVE.ORG link : CVE-2019-18840
JSON object : View
Products Affected
wolfssl
- wolfssl
CWE
CWE-787
Out-of-bounds Write