Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. CVE-2023-53159

CVE-2023-53159: `openssl` `X509VerifyParamRef::set_host` buffer over-read

June 21, 2023 (updated July 28, 2025)

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.

References

  • github.com/advisories/GHSA-xcf7-rvmh-g6q4
  • github.com/sfackler/rust-openssl
  • github.com/sfackler/rust-openssl/issues/1965
  • github.com/sfackler/rust-openssl/pull/1968
  • nvd.nist.gov/vuln/detail/CVE-2023-53159
  • rustsec.org/advisories/RUSTSEC-2023-0044.html

Code Behaviors & Features

Detect and mitigate CVE-2023-53159 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.10.0 before 0.10.55

Fixed versions

  • 0.10.55

Solution

Upgrade to version 0.10.55 or above.

Impact 4.5 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-126: Buffer Over-read

Source file

cargo/openssl/CVE-2023-53159.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:22 +0000.