ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 1 ecosystem.

High severity crates.io 3

Advisories

  • GHSA-jmwx-r3gq-qq3p

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

    Moderate CVE-2021-45680 crates.io Updated 8 November 2023
  • GHSA-x76r-966h-5qv9

    Out-of-bounds Write in vec-const

    High CVE-2021-45680 crates.io Updated 8 November 2023
  • RUSTSEC-2021-0082

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

    CVE-2021-45680 crates.io Updated 17 December 2025

References