{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-45680","published":"2021-12-27T00:15:08.810000Z","last_modified":"2026-06-17T04:13:56.137000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:vec-const_project:vec-const:*:*:*:*:*:rust:*:*","part":"a","vendor":"vec-const_project","product":"vec-const","version_end_excluding":"2.0.0"}],"cpes_truncated":false,"vendors":["vec-const_project"],"products":["vec-const_project/vec-const"],"epss":{"score":0.01088,"percentile":0.6496,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jmwx-r3gq-qq3p","ecosystem":"crates.io","name":"vec-const","purl":"pkg:cargo/vec-const","ranges":[{"introduced":"0","fixed":"2.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-x76r-966h-5qv9","ecosystem":"crates.io","name":"vec-const","purl":"pkg:cargo/vec-const","ranges":[{"introduced":"0","fixed":"2.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2021-0082","ecosystem":"crates.io","name":"vec-const","purl":"pkg:cargo/vec-const","ranges":[{"introduced":"0.0.0-0","fixed":"2.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-45680/","html_en":"/en/cve/CVE-2021-45680/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-45680","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-45680"},"untrusted":{"vendor_name":"Vec-const Project","product_name":"Vec-const","desc_en":"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":[],"references":[{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md","tags":["Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0082.html","tags":["Third Party Advisory"]}]}}