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

06 Jan 2022, 16:12

Type Values Removed Values Added
CWE CWE-787
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
CPE cpe:2.3:a:vec-const_project:vec-const:*:*:*:*:*:rust:*:*
References (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md - (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md - Third Party Advisory
References (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0082.html - (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0082.html - Third Party Advisory

27 Dec 2021, 00:15

Type Values Removed Values Added
New CVE

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