VulnerabilityModified
CVE-2021-28031
An issue was discovered in the scratchpad crate before 1.3.1 for Rust.
CRITICAL 9.8EPSS 1.36%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.36%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.36% probability · 70th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415
- Affected
- scratchpad project/scratchpad
- Source
- cve@mitre.org
References
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0030.htmlPatch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.