Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Scratchpad Project | Scratchpad | < 1.3.1 |
Related Weaknesses (CWE)
References
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatchThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatchThird Party Advisory
FAQ
What is CVE-2021-28031?
CVE-2021-28031 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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.
How severe is CVE-2021-28031?
CVE-2021-28031 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-28031?
Check the references section above for vendor advisories and patch information. Affected products include: Scratchpad Project Scratchpad.