Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. GHSA-6hcf-g6gr-hhcr

GHSA-6hcf-g6gr-hhcr: `openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference

March 24, 2023

These functions would crash when the context argument was None with certain extension types.

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

References

  • github.com/advisories/GHSA-6hcf-g6gr-hhcr
  • github.com/sfackler/rust-openssl
  • github.com/sfackler/rust-openssl/pull/1854
  • rustsec.org/advisories/RUSTSEC-2023-0024.html

Code Behaviors & Features

Detect and mitigate GHSA-6hcf-g6gr-hhcr 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.

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

cargo/openssl/GHSA-6hcf-g6gr-hhcr.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:38 +0000.