RUSTSEC-2025-0019
LOWarray-init-cursor is unsound when used with types that implement `Drop`
The Drop implementation will get run twice when using the cursor.
This issue does not affect you, if you are using only using the crate with types that are Copy such as u8.
This issue also does not affect you, if you are only depending on it through the crate planus.
- Published
- 27 Mar 2025
- Last modified
- 28 Oct 2025
- Weakness
- CWE-672
- Also known as
- GHSA-67r5-rqwv-9p9q
- Sources
- OSV GHSA-67r5-rqwv-9p9qJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | array-init-cursor | < 0.2.1 | 0.2.1 |
| OSV | crates.io | array-init-cursor | >= 0.0.0-0, < 0.2.1 | 0.2.1 |
References
- https://github.com/planus-org/planus/issues/293 · WEB, REPORT
- https://github.com/planus-org/planus/pull/294 · WEB
- https://github.com/planus-org/planus · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0019.html · WEB, ADVISORY
- https://crates.io/crates/array-init-cursor · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2025)