Vulnerability Details : CVE-2021-28034
An issue was discovered in the stack_dst crate before 0.6.1 for Rust. Because of the push_inner behavior, a double free can occur upon a val.clone() panic.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-28034
- cpe:2.3:a:stack_dst_project:stack_dst:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28034
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28034
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-28034
-
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-28034
-
https://rustsec.org/advisories/RUSTSEC-2021-0033.html
RUSTSEC-2021-0033: stack_dst: push_cloned can drop uninitialized memory or double free on panic › RustSec Advisory DatabasePatch;Third Party Advisory
Jump to