bee icon indicating copy to clipboard operation
bee copied to clipboard

RUSTSEC-2022-0040: Multiple soundness issues in `owning_ref`

Open github-actions[bot] opened this issue 2 years ago • 0 comments

Multiple soundness issues in owning_ref

Details
Package owning_ref
Version 0.4.1
URL https://github.com/noamtashma/owning-ref-unsoundness
Date 2022-01-26
  • OwningRef::map_with_owner is unsound and may result in a use-after-free.
  • OwningRef::map is unsound and may result in a use-after-free.
  • OwningRefMut::as_owner and OwningRefMut::as_owner_mut are unsound and may result in a use-after-free.
  • The crate violates Rust's aliasing rules, which may cause miscompilations on recent compilers that emit the LLVM noalias attribute.

No patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.

See advisory page for additional details.

github-actions[bot] avatar Aug 03 '22 00:08 github-actions[bot]