Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. out-reference
  4. ›
  5. GHSA-p7mj-xvxg-grff

GHSA-p7mj-xvxg-grff: `out_reference::Out::from_raw` should be `unsafe`

March 13, 2023

Out::from_raw in affected versions allows writing a value to invalid memory address without requiring unsafe.

The soundness issue has been addressed by making Out::from_raw an unsafe function.

References

  • github.com/RustyYato/out-ref/issues/1
  • github.com/advisories/GHSA-p7mj-xvxg-grff
  • rustsec.org/advisories/RUSTSEC-2021-0152.html

Code Behaviors & Features

Detect and mitigate GHSA-p7mj-xvxg-grff 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.1.0 before 0.2.0

Fixed versions

  • 0.2.0

Solution

Upgrade to version 0.2.0 or above.

Source file

cargo/out-reference/GHSA-p7mj-xvxg-grff.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:44 +0000.