CVE-2020-36452: Memory corruption in array-tools
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.687%
CWE
Published
8/25/2021
Updated
2/1/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
array-tools | rust | < 0.3.2 | 0.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly identifies FixedCapacityDequeLike<T, A>::clone()
as the problematic function. The root cause is insufficient panic safety - when user-provided T::clone()
panics during the cloning process, the implementation doesn't properly track initialized elements. This results in the drop handler attempting to destruct uninitialized memory, violating memory safety. The advisory's technical details and CVE description consistently point to this specific function as the vulnerability source.