{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-28031","published":"2021-03-05T09:15:14.037000Z","last_modified":"2026-06-17T03:45:44.930000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-415"],"cpes":[{"criteria":"cpe:2.3:a:scratchpad_project:scratchpad:*:*:*:*:*:rust:*:*","part":"a","vendor":"scratchpad_project","product":"scratchpad","version_end_excluding":"1.3.1"}],"cpes_truncated":false,"vendors":["scratchpad_project"],"products":["scratchpad_project/scratchpad"],"epss":{"score":0.01381,"percentile":0.72324,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3qm2-rfqw-fmrw","ecosystem":"crates.io","name":"scratchpad","purl":"pkg:cargo/scratchpad","ranges":[{"introduced":"0","fixed":"1.3.1"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2021-0030","ecosystem":"crates.io","name":"scratchpad","purl":"pkg:cargo/scratchpad","ranges":[{"introduced":"0.0.0-0","fixed":"1.3.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-28031/","html_en":"/en/cve/CVE-2021-28031/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28031","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28031"},"untrusted":{"vendor_name":"Scratchpad Project","product_name":"Scratchpad","desc_en":"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.","affected":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0030.html","tags":["Patch","Third Party Advisory"]}]}}