RUSTSEC-2023-0126 Aliasing violation in `OrdSet` insertion
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
Inserting into an im::OrdSet (for example by collecting an iterator into one) can violate
Rust's aliasing rules: Miri reports a stacked borrows violation in
sized_chunks::Chunk::force_copy(), which is called during insertion, where a shared borrow
is invalidated by a unique borrow before the read through it completes.
This is undefined behavior, reachable from safe code.
No fixed version is available, as the crate is unmaintained; its GitHub
repository was archived by the owner on 2026-05-03.
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io im(crates.io) | >= 0.0.0-0 | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io im(crates.io) | >= 0.0.0-0 | No fix listed |
References
- crates.io product
- rustsec.org vendor-advisory
- github.com issue-tracking