planus-org/planus · Security
array-init-cursor is unsound when used with types that implement `Drop`
- GHSA ID
- GHSA-67r5-rqwv-9p9q
- Severity
- low
- Published
- Updated
- CVSS v4
- 2.9 · 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
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.
CWEs
- CWE-672 · Operation on a Resource after Expiration or Release