RUSTSEC-2023-0126
Not scored
Aliasing violation in `OrdSet` insertion
- Severity
- Not scored
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| im (crates.io) | from 0.0.0-0 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2023-0126 changed 2026-08-10 | CC0-1.0 |