We found results for “”
WS-2021-0031
Good to know:
Date: February 18, 2021
Affected versions of scratchpad used ptr::read to read elements while calling a user provided function f on them. Since the pointer read duplicates ownership, a panic inside the user provided f function could cause a double free when unwinding. The flaw was fixed in version 1.3.1 by removing the unsafe block and using a plain iterator.
Language: RUST
Severity Score
Severity Score
Weakness Type (CWE)
Double Free
CWE-415Top Fix
CVSS v3.1
Base Score: |
|
---|---|
Attack Vector (AV): | LOCAL |
Attack Complexity (AC): | LOW |
Privileges Required (PR): | NONE |
User Interaction (UI): | NONE |
Scope (S): | UNCHANGED |
Confidentiality (C): | NONE |
Integrity (I): | NONE |
Availability (A): | LOW |