1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
{"schema_version":"1.8.0","id":"RUSTSEC-2023-0126","published":"2023-02-04T12:00:00Z","modified":"2026-08-10T19:45:04.530371817Z","summary":"Aliasing violation in `OrdSet` insertion","details":"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.","affected":[{"package":{"name":"im","ecosystem":"crates.io","purl":"pkg:cargo/im"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption"],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0126.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/im"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2023-0126.html"},{"type":"REPORT","url":"https://github.com/bodil/im-rs/issues/207"}],"database_specific":{"license":"CC0-1.0"}} |