Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. GHSA-xcf7-rvmh-g6q4

GHSA-xcf7-rvmh-g6q4: `openssl` `X509VerifyParamRef::set_host` buffer over-read

June 21, 2023

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
  • rustsec.org/advisories/RUSTSEC-2023-0044.html

Code Behaviors & Features

Detect and mitigate GHSA-xcf7-rvmh-g6q4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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.

Source file

cargo/openssl/GHSA-xcf7-rvmh-g6q4.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:33 +0000.