CVE-2021-29930: Out of bounds write in arenavec
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59217%
CWE
Published
8/25/2021
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
arenavec | rust | <= 0.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub issue #1 and RustSec advisory explicitly identify these 3 functions with specific panic safety flaws: 1) Slice::new
's premature len setting enables drops of uninitialized memory, 2-3) resize()
/resize_with()
's len adjustment timing enables double drops. Code structure matches described vulnerability patterns (CWE-787 via invalid memory operations during panic unwind). The provided PoC demonstrates concrete double-free scenarios in resize
methods.