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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.014 (70.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 70.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
Weakness classification (CWE)
References
- rustsec.org/advisories/RUSTSEC-2021-0030.html (Patch, Third Party Advisory)
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.