Buffer overread in domain name matching (wolfSSL wolfSSL)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.56 % Β· percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- wolfSSL
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-125 β Out-of-bounds Read
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | CRITICAL 10.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 | wolfSSL |
| CVSS 4.0 | CRITICAL 10.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· facts@wolfssl.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2024-47107
- GCVE Β· GCVE-0-2024-5991
Affected configurations (NVD CPE)
cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*β€ 5.7.0
Affected products
| Product | Versions |
|---|---|
| wolfSSL Β· wolfSSL | affected 0 β€ 5.7.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |