GHSA-xcf7-rvmh-g6q4: `openssl` `X509VerifyParamRef::set_host` buffer over-read
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
6/21/2023
Updated
6/21/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| openssl | rust | >= 0.10.0, < 0.10.55 | 0.10.55 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems directly from the set_host implementation handling string inputs. The Valgrind trace shows strlen() being called on invalid memory when passed an empty string, and the GitHub PR #1968 fixes this by converting to CString first. The function's pre-patch code directly used &str's raw pointer without ensuring NUL-termination, making it the clear vulnerable entry point.