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.
Published: 2021-03-05
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
History

No history.

Subscriptions

Scratchpad Project Scratchpad
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

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