logo

GHSA-67r5-rqwv-9p9q array-init-cursor

Package

Manager: cargo
Name: array-init-cursor
Vulnerable Version: >=0 <0.2.1

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C

CVSS v4.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

EPSS: N/A pctlN/A

Details

array-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`.

Metadata

Created: 2025-03-31T16:13:34Z
Modified: 2025-03-31T16:13:34Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-67r5-rqwv-9p9q/GHSA-67r5-rqwv-9p9q.json
CWE IDs: ["CWE-672"]
Alternative ID: N/A
Finding: F067
Auto approve: 1