rustsec-2025-0019
Vulnerability from osv_rustsec
Published
2025-03-27 12:00
Modified
2025-10-28 06:02
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.
{
"affected": [
{
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": null,
"informational": "unsound"
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "array-init-cursor",
"purl": "pkg:cargo/array-init-cursor"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.2.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-67r5-rqwv-9p9q"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "The `Drop` implementation will get run twice when using the cursor.\n\nThis issue does not affect you, if you are using only using the crate with\ntypes that are `Copy` such as `u8`.\n\nThis issue also does not affect you, if you are only depending on it through\nthe crate `planus`.",
"id": "RUSTSEC-2025-0019",
"modified": "2025-10-28T06:02:18Z",
"published": "2025-03-27T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/array-init-cursor"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0019.html"
},
{
"type": "REPORT",
"url": "https://github.com/planus-org/planus/issues/293"
}
],
"related": [],
"severity": [],
"summary": "`array-init-cursor` in version 0.2.0 and below is unsound when used with types that implement `Drop`"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…