Description
An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0082.html
Third Party Advisory x_refsource_misc
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md
Scores
CVSS v3
7.5
EPSS
0.0105
EPSS Percentile
60.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-787
Status
published
Products (2)
crates.io/vec-const
0 - 2.0.0crates.io
vec-const_project/vec-const
< 2.0.0
Published
Dec 27, 2021
Tracked Since
Feb 18, 2026