CVE-2021-28031
CRITICALscratchpad < 1.3.1 - Double Free via Panic in User-Provided Function
Title source: llmDescription
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.
References (1)
Core 1
Core References
Patch, Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0030.html
Scores
CVSS v3
9.8
EPSS
0.0136
EPSS Percentile
68.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-415
Status
published
Products (2)
crates.io/scratchpad
0 - 1.3.1crates.io
scratchpad_project/scratchpad
< 1.3.1
Published
Mar 05, 2021
Tracked Since
Feb 18, 2026