CVE-2021-28031

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
Link Resource
https://rustsec.org/advisories/RUSTSEC-2021-0030.html Patch Third Party Advisory
https://rustsec.org/advisories/RUSTSEC-2021-0030.html Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:scratchpad_project:scratchpad:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 05:59

Type Values Removed Values Added
References () https://rustsec.org/advisories/RUSTSEC-2021-0030.html - Patch, Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0030.html - Patch, Third Party Advisory

Information

Published : 2021-03-05 09:15

Updated : 2024-11-21 05:59


NVD link : CVE-2021-28031

Mitre link : CVE-2021-28031

CVE.ORG link : CVE-2021-28031


JSON object : View

Products Affected

scratchpad_project

  • scratchpad
CWE
CWE-415

Double Free