← Back to CVEs
CVE-2021-28031
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/5/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
scratchpad_project:scratchpad
Weaknesses (CWE)
CWE-415
References
https://rustsec.org/advisories/RUSTSEC-2021-0030.html(cve@mitre.org)
https://rustsec.org/advisories/RUSTSEC-2021-0030.html(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.