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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-2235 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.
Github GHSA Github GHSA GHSA-3qm2-rfqw-fmrw move_elements can double-free objects on panic
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T21:33:17.105Z

Reserved: 2021-03-05T00:00:00

Link: CVE-2021-28031

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-05T09:15:14.037

Modified: 2024-11-21T05:59:00.433

Link: CVE-2021-28031

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses