Advisory

RUSTSEC-2021-0152

Also known as: GHSA-p7mj-xvxg-grff

Summary

out_reference::Out::from_raw should be unsafe

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-01-20 12:00 UTC
Modified
2023-11-08 04:21 UTC

Affected packages and fixes

out-reference

crates.io · All systems

Affected

  • introduced 0.1.0, fixed 0.2.0 (semver)

Fixed versions

0.2.0

Fix

  • Fixed version 0.2.0
    cargo update -p out-reference --precise 0.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences