Double Free in Scratchpad Project
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.
Vulnerability class: Double Free
EPSS: 0.014 (69.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Scratchpad_project Scratchpad
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-28031?
- CVE-2021-28031 is a critical-severity vulnerability in Scratchpad Project, classified under Double Free. CVSS score: 9.8/10. Published 2021-03-05.
- How severe is CVE-2021-28031?
- Critical severity. CVSS v3 base score is 9.8 out of 10.