CVE-2021-28031Published Mar 5, 2021 · Mar 5Updated Oct 24
move_elements can double-free objects on panic
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| scratchpad crates.io |
|
|
Original 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.
From the CVE record · mitre