Out-of-bounds Read in Wolfssl
CVE-2024-5991
In function MatchDomainName(), input param str is treated as a NULL terminated string despite being user provided and unchecked. Specifically, the function X509_check_host() takes in a pointer and length to check against, with no requirements that it be NULL terminated. If a caller was attempting to do a name check on a non-NULL terminated buffer, the code would read beyond the bounds of the input array until it found a NULL terminator.This issue affects wolfSSL: through 5.7.0.
Vulnerability class: Buffer Overflow
EPSS: 0.006 (43.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Wolfssl — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- facts@wolfssl.com (Broken Link)
- nvd@nist.gov (Issue Tracking, Patch)
Frequently asked questions
- What is CVE-2024-5991?
- CVE-2024-5991 is a high-severity vulnerability in Wolfssl, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2024-08-27.
- How severe is CVE-2024-5991?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-5991 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.