Critical severityNVD Advisory· Published Mar 5, 2021· Updated Aug 3, 2024
CVE-2021-28031
CVE-2021-28031
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
scratchpadcrates.io | < 1.3.1 | 1.3.1 |
Affected products
2- Rust/scratchpaddescription
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-3qm2-rfqw-fmrwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-28031ghsaADVISORY
- github.com/okready/scratchpad/commit/891561beaghsaWEB
- github.com/okready/scratchpad/issues/1ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0030.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.