{"id":"RUSTSEC-2023-0126","revision":"2d9b1ceaa7e643958d901bfc73e60b60","records":[{"revision":"2d9b1ceaa7e643958d901bfc73e60b60","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2023-0126","aliases":[],"title":"Aliasing violation in `OrdSet` insertion","description":"Inserting into an `im::OrdSet` (for example by collecting an iterator into one) can violate\nRust's aliasing rules: Miri reports a stacked borrows violation in\n`sized_chunks::Chunk::force_copy()`, which is called during insertion, where a shared borrow\nis invalidated by a unique borrow before the read through it completes.\nThis is undefined behavior, reachable from safe code.\n\nNo fixed version is available, as the crate is unmaintained; its GitHub\nrepository was archived by the owner on 2026-05-03.","state":0,"publishedAt":"2023-02-04T12:00:00+00:00","modifiedAt":"2026-08-10T19:45:04.5303718+00:00","affected":[{"ecosystem":"crates.io","name":"im","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/im","https://rustsec.org/advisories/RUSTSEC-2023-0126.html","https://github.com/bodil/im-rs/issues/207"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2023-0126","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2023-0126","identifiers":["RUSTSEC-2023-0126"]},"retained":false,"historicalAffected":[]}],"coverage":[]}