VDB

CVE-2024-5991

CVE-2024-5991 PUBLISHED CVSS 10 CRITICAL

Buffer overread in domain name matching

Reported by wolfssl · Published August 27, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
wolfsslAlpine5.7.2-r0
wolfsslwolfssl5.7.0

Risk scores

CVSS 4.0
10
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

Affected products

VendorProductVersions
wolfSSLwolfSSL0
wolfsslwolfssl0
alpinewolfssl0
wolfSSLwolfSSL0

Timeline

  • Aug 27, 2024 CVE Published
  • Aug 27, 2024 CVE Updated
  • Aug 28, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
  • Apr 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-5991
vulnetix vdb fixes CVE-2024-5991

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-5991/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›