-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] owning_ref vulnerability #678
Comments
Hi, I don't think we use the affected API directly form cursive. We do re-export a If a more supported alternative exists (or if/when the same simple use-case we need can be handled without |
More details here: https://rustsec.org/advisories/RUSTSEC-2022-0040 |
What we want is Arc/Rc projection. Here's a thread from last year about it (also mentioning owning-ref, and its soundness issues): https://internals.rust-lang.org/t/field-projection-for-rc-and-arc/15827 For some restricted use-cases of common combinations (
|
shared-rc looks promising |
After toying with ouroboros, I ended up using
|
Would it be possible to just switch to https://crates.io/crates/safer_owning_ref? |
In my previous post I mentioned switching to Turns out there was another use of it in |
cursive-core
usesowning-ref
crate, which has a couple of issues as described here: https://github.com/noamtashma/owning-ref-unsoundnessThe maintainer of
owning_ref
seems unresponsive, and I was wondering if there are any plans to move away from having this crate as a dependency? IsCursive
affected by the unsound api ofowning_ref
?The text was updated successfully, but these errors were encountered: