{"id":"RUSTSEC-2025-0019","summary":"`array-init-cursor` in version 0.2.0 and below is unsound when used with types that implement `Drop`","details":"The `Drop` implementation will get run twice when using the cursor.\n\nThis issue does not affect you, if you are using only using the crate with\ntypes that are `Copy` such as `u8`.\n\nThis issue also does not affect you, if you are only depending on it through\nthe crate `planus`.","aliases":["GHSA-67r5-rqwv-9p9q"],"modified":"2025-10-28T06:29:23.375894Z","published":"2025-03-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/array-init-cursor"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0019.html"},{"type":"REPORT","url":"https://github.com/planus-org/planus/issues/293"}],"affected":[{"package":{"name":"array-init-cursor","ecosystem":"crates.io","purl":"pkg:cargo/array-init-cursor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.2.1"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0019.json","informational":"unsound","cvss":null,"categories":["memory-corruption"]}}],"schema_version":"1.7.3"}