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
Link | Resource |
---|---|
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md | Third Party Advisory |
https://rustsec.org/advisories/RUSTSEC-2021-0082.html | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-12-27 00:15
Updated : 2022-01-06 16:12
NVD link : CVE-2021-45680
Mitre link : CVE-2021-45680
CVE.ORG link : CVE-2021-45680
JSON object : View
Products Affected
vec-const_project
- vec-const
CWE
CWE-787
Out-of-bounds Write