{"id":"CVE-2021-45680","published":"2021-12-26T21:53:12Z","modified":"2024-08-04T04:47:01Z","title":"An issue was discovered in the vec-const crate before 2.0.0 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01088,"percentile":0.64897,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0082.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":12.98}]},"affected":[{"ecosystem":"crates.io","package":"vec-const","vulnerableRanges":["<2.0.0",">=0.0.0-0, <2.0.0"],"patched":["2.0.0"],"from":["GHSA-x76r-966h-5qv9","RUSTSEC-2021-0082"],"provenance":"source"}],"summary":{"text":"The vec-const crate for Rust, in versions before 2.0.0, has a flaw in which it attempts to construct a Vec from a pointer to a const slice. An attacker who can get the affected code to run with attacker-influenced input can trigger memory corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:55Z"},"euvd":{"id":"EUVD-2022-0737","exploited":false,"provenance":"source"}}