CVE-2023-53159
Rust vulnerability analysis and mitigation

Overview

The openssl crate before version 0.10.55 for Rust contains a buffer over-read vulnerability (CVE-2023-53159) that was discovered in June 2023. The vulnerability affects the X509VerifyParamRef::set_host function when it receives an empty string input. This security issue impacts the Rust implementation of OpenSSL bindings (RustSec Advisory).

Technical details

The vulnerability occurs when X509VerifyParamRef::set_host function is called with an empty string parameter. In such cases, OpenSSL attempts to call strlen on the empty string, resulting in an out-of-bounds read that continues until it encounters a NUL byte in memory. The issue has been assigned a CVSS v3.1 base score of 4.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L (NVD).

Impact

When exploited, this vulnerability can lead to memory exposure through an out-of-bounds read operation. The impact is primarily related to information disclosure, as the vulnerability allows reading arbitrary memory contents until a NUL byte is encountered (RustSec Advisory).

Mitigation and workarounds

The vulnerability has been patched in openssl crate version 0.10.55 and later. Users should upgrade to this version or newer to address the issue. For those unable to upgrade immediately, avoiding empty string inputs to the X509VerifyParamRef::set_host function can serve as a temporary workaround (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-pfp7-vxgr-83pwHIGH8.8
  • RustRust
  • toodee
NoYesSep 09, 2025
RUSTSEC-2025-0065N/AN/A
  • RustRust
  • matrix-sdk-base
NoYesSep 11, 2025
RUSTSEC-2025-0061N/AN/A
  • RustRust
  • iron
NoNoSep 08, 2025
RUSTSEC-2025-0060N/AN/A
  • RustRust
  • crypto-hash
NoNoSep 08, 2025
RUSTSEC-2025-0059N/AN/A
  • RustRust
  • servo-fontconfig
NoNoSep 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management