Skip to content
OpenAdvisories
High · 7.5 CVE-2021-45680 EUVD-2022-0737GHSA-jmwx-r3gq-qq3pGHSA-x76r-966h-5qv9RUSTSEC-2021-0082

vec-const attempts to construct a Vec from a pointer to a const slice

Published Dec 26, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io vec-const < 2.0.0 2.0.0 GHSA-jmwx-r3gq-qq3p
crates.io vec-const >= 0.0.0-0, < 2.0.0 2.0.0 RUSTSEC-2021-0082

References