CVE-2023-53159
4.5medium
`openssl` `X509VerifyParamRef::set_host` buffer over-read
- Severity
- 4.5medium CVSS:3.1 by mitre
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xcf7-rvmh-g6q4RUSTSEC-2023-0044
Description
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sfackler openssl | before 0.10.55 | CVE List, NVD |
| openssl (crates.io) | from 0.10.0 before 0.10.55, from 0.0.0-0 before 0.10.55 | GitHub Advisory Database, RustSec Advisory Database |
All scores
| mitre | 4.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L |
| GitHub | 4.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.
GitHub Advisory Database
When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.
NVD (es)
El paquete openssl para Rust anterior a 0.10.55 permite una lectura fuera de los límites a través de una cadena vacía a X509VerifyParamRef::set_host.
References
| https://rustsec.org/advisories/RUSTSEC-2023-0044.html | advisory, third-party-advisory, web | |
| https://github.com/sfackler/rust-openssl/issues/1965 | exploit, patch, report, web | |
| https://crates.io/crates/openssl | package, product | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-53159 | advisory | |
| https://github.com/sfackler/rust-openssl/pull/1968 | web | |
| https://github.com/sfackler/rust-openssl | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53159 changed 2025-07-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xcf7-rvmh-g6q4 changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2023-0044 changed 2025-10-28 | CC0-1.0 |
| NVD | CVE-2023-53159 changed 2026-09-17 | Public domain |