Advisory

RUSTSEC-2025-0019

Also known as: GHSA-67r5-rqwv-9p9q

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.

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.

Severity

Not rated by the source.

Dates

Published
2025-03-27 12:00 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

array-init-cursor

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.2.1 (semver)

Fixed versions

0.2.1

Fix

  • Fixed version 0.2.1
    cargo update -p array-init-cursor --precise 0.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences