Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. GHSA-3gxf-9r58-2ghg

GHSA-3gxf-9r58-2ghg: `openssl` `X509NameBuilder::build` returned object is not thread safe

March 24, 2023

OpenSSL has a modified bit that it can set on on X509_NAME objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value.

Thanks to David Benjamin (Google) for reporting this issue.

References

  • github.com/advisories/GHSA-3gxf-9r58-2ghg
  • github.com/sfackler/rust-openssl/pull/1854
  • rustsec.org/advisories/RUSTSEC-2023-0022.html

Code Behaviors & Features

Detect and mitigate GHSA-3gxf-9r58-2ghg 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.9.7 before 0.10.48

Fixed versions

  • 0.10.48

Solution

Upgrade to version 0.10.48 or above.

Source file

cargo/openssl/GHSA-3gxf-9r58-2ghg.yml

Spotted a mistake? Edit the file on GitLab.

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

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