CVE-2021-45680

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vec-const_project:vec-const:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 06:32

Type Values Removed Values Added
References () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md - Third Party Advisory () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md - Third Party Advisory
References () https://rustsec.org/advisories/RUSTSEC-2021-0082.html - Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0082.html - Third Party Advisory

Information

Published : 2021-12-27 00:15

Updated : 2024-11-21 06:32


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