Back to overview

CVE-2024-5991

CRITICAL
10.0
CVSS 4.0
Description
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.

Metadata

CVE ID
CVE-2024-5991
State
PUBLISHED
Assigner
wolfSSL
Reserved
2024-06-13 21:54 UTC
Published
2024-08-27 18:33 UTC
Last updated
2024-08-27 20:06 UTC
Primary CWE
CWE-125
CWE-125 Out-of-bounds Read
Vendor / Product
wolfSSL / wolfSSL
Sources
cve.org  ·  NVD

Severity & Metrics

10.0 CRITICAL CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
wolfSSL wolfSSL 0 ≤ 5.7.0
Weakness (CWE)
CWESourceDescription
CWE-125 cna CWE-125 Out-of-bounds Read
CVSS scores (1)
ScoreSeverityVersionSourceVector
10.0 CRITICAL 4.0 cna CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Back to overview