GHSA-9qxh-258v-666c json
owning_ref vulnerable to multiple soundness issues
published 4y ago modified 3y ago also RUSTSEC-2022-0040
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
- `OwningRef::map_with_owner` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/77) and may result in a use-after-free. - `OwningRef::map` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/71) and may result in a use-after-free. - `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. - 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.
No patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.
Is GHSA-9qxh-258v-666c in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | owning_ref | <=0.4.1 >=0.0.0-0 |
no fix listed |
References
-
github.com
/Kimundi/owning-ref-rs
package
-
github.com
/noamtashma/owning-ref-unsoundness
web
-
rustsec.org
/advisories/RUSTSEC-2022-0040.html
web, advisory
-
crates.io
/crates/owning_ref
package
-
github.com
/Kimundi/owning-ref-rs/issues/49
report
-
github.com
/Kimundi/owning-ref-rs/issues/61
report
-
github.com
/Kimundi/owning-ref-rs/issues/71
report
-
github.com
/Kimundi/owning-ref-rs/issues/77
report
Sources
- GitHub Advisory GHSA-9qxh-258v-666c
- OSV RUSTSEC-2022-0040
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.