{"id":"GHSA-9qxh-258v-666c","aliases":["RUSTSEC-2022-0040"],"url":"https://o3.security/vulnerability/GHSA-9qxh-258v-666c","summary":"owning_ref vulnerable to multiple soundness issues","details":"- `OwningRef::map_with_owner` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/77) and may result in a use-after-free.\n- `OwningRef::map` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/71) and may result in a use-after-free.\n- `OwningRefMut::as_owner` and `OwningRefMut::as_owner_mut` are [unsound](https://github.com/Kimundi/owning-ref-rs/issues/61) and may result in a use-after-free.\n- The crate [violates Rust's aliasing rules](https://github.com/Kimundi/owning-ref-rs/issues/49), which may cause miscompilations on recent compilers that emit the LLVM `noalias` attribute.\n\nNo patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.\n","published":"2022-08-10T17:26:00Z","modified":"2023-11-08T04:18:04.747199Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"owning_ref","fixedVersion":null}],"fix":null,"references":[{"type":"PACKAGE","url":"https://github.com/Kimundi/owning-ref-rs"},{"type":"WEB","url":"https://github.com/noamtashma/owning-ref-unsoundness"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0040.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:18:04.747199Z"}}