Description
An issue was discovered in the scratchpad crate before 1.3.1 for Rust. The move_elements function can have a double-free upon a panic in a user-provided f function.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatch, Third Party Advisory
Timeline
- Published
- Mar 5, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified