We found results for “”
WS-2021-0053
Date: February 17, 2021
misc::vec_with_size creates a vector of the provided size and immediately calls vec.set_len(size) on it, initially filling it with uninitialized memory. It then inserts elements using vec[i] = value.clone(). If the value.clone() call panics, uninitialized items in the vector will be dropped leading to undefined behavior.
Language: RUST
Severity Score
Severity Score
Weakness Type (CWE)
Improper Initialization
CWE-665CVSS v3.1
Base Score: |
|
---|---|
Attack Vector (AV): | LOCAL |
Attack Complexity (AC): | LOW |
Privileges Required (PR): | NONE |
User Interaction (UI): | REQUIRED |
Scope (S): | UNCHANGED |
Confidentiality (C): | NONE |
Integrity (I): | NONE |
Availability (A): | HIGH |