{"id":"GHSA-67r5-rqwv-9p9q","aliases":["GHSA-67r5-rqwv-9p9q","RUSTSEC-2025-0019"],"related":[],"kind":"vulnerability","state":"published","title":"array-init-cursor is unsound when used with types that implement `Drop`","summary":"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`.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"}],"published":"2025-03-27T12:00:00.000Z","modified":"2025-10-28T06:29:23.375Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"LOW"}],"cwes":["CWE-672"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.1"}],"ecosystem":"crates.io","package":"array-init-cursor","purl":"pkg:cargo/array-init-cursor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.2.1"}],"ecosystem":"crates.io","package":"array-init-cursor","purl":"pkg:cargo/array-init-cursor","source":"rustsec"}],"references":[{"url":"https://github.com/planus-org/planus/issues/293","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/planus-org/planus/pull/294","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/planus-org/planus","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0019.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/array-init-cursor","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-67r5-rqwv-9p9q","url":"https://github.com/advisories/GHSA-67r5-rqwv-9p9q","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:23.375Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0019","url":"https://rustsec.org/advisories/RUSTSEC-2025-0019.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:23.375Z"}],"updatedAt":"2026-11-25T22:56:43.250Z"}