{"id":"GHSA-67r5-rqwv-9p9q","aliases":["RUSTSEC-2025-0019"],"status":"published","title":"array-init-cursor is unsound when used with types that implement `Drop`","description":"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 types that are `Copy` such as `u8`.\n\nThis issue also does not affect you, if you are only depending on it through the crate `planus`.","severity":{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","level":"low","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-672"],"published":"2025-03-27T12:00:00Z","modified":"2025-10-28T06:29:23Z","fixes":[{"ecosystem":"crates.io","package":"array-init-cursor","fixed_in":["0.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"array-init-cursor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"array-init-cursor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"array-init-cursor","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.2.1"}]}]}],"references":[{"url":"https://github.com/planus-org/planus/issues/293","tags":["web","report"]},{"url":"https://github.com/planus-org/planus/pull/294","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0019.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-67r5-rqwv-9p9q"},{"url":"https://github.com/planus-org/planus","tags":["package"]},{"url":"https://crates.io/crates/array-init-cursor","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-67r5-rqwv-9p9q","title":"array-init-cursor is unsound when used with types that implement `Drop`","description":"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 types that are `Copy` such as `u8`.\n\nThis issue also does not affect you, if you are only depending on it through the crate `planus`.","status":"published","published":"2025-03-31T16:13:34Z","modified":"2025-03-31T16:13:36Z","cvss":[{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-672"],"updated_at":"2026-11-02T14:38:37.325334Z"}],"osv":[{"id":"GHSA-67r5-rqwv-9p9q","title":"array-init-cursor is unsound when used with types that implement `Drop`","description":"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 types that are `Copy` such as `u8`.\n\nThis issue also does not affect you, if you are only depending on it through the crate `planus`.","status":"published","published":"2025-03-31T16:13:34Z","modified":"2025-10-28T06:29:23.375894Z","cvss":[{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-672"],"updated_at":"2026-11-02T15:46:39.266402Z"},{"id":"RUSTSEC-2025-0019","title":"`array-init-cursor` in version 0.2.0 and below is unsound when used with types that implement `Drop`","description":"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`.","status":"published","published":"2025-03-27T12:00:00Z","modified":"2025-10-28T06:29:23.375894Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
