GHSA-67r5-rqwv-9p9q array-init-cursor is unsound when used with types that implement `Drop`
LowCVSS 2.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io array-init-cursor(crates.io) | < 0.2.1; >= 0.0.0-0, < 0.2.1 | 0.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io array-init-cursor(crates.io) | < 0.2.1 | 0.2.1 |
| crates.io array-init-cursor(crates.io) | >= 0.0.0-0, < 0.2.1 | 0.2.1 |
References
- github.com issue-tracking
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com