CVE-2019-18840
Last modified
CVE-2019-18840 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | >= 4.1.0, <= 4.2.0c |
References
- https://github.com/wolfSSL/wolfssl/issues/2555Exploit, Third Party Advisory
- https://github.com/wolfSSL/wolfssl/issues/2555Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-18840?
How severe is CVE-2019-18840?
How do I fix CVE-2019-18840?
Are you affected by CVE-2019-18840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
