Affected versions
Rust / Cargovec-const
- Affected versions
- < 2.0.0
- Fixed version
- 2.0.0
Exploitation
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.
Links
- https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241
- https://github.com/advisories/GHSA-x76r-966h-5qv9
- https://nvd.nist.gov/vuln/detail/CVE-2021-45680
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md
- https://rustsec.org/advisories/RUSTSEC-2021-0082.html

