{"id":"GHSA-x76r-966h-5qv9","summary":"Out-of-bounds Write in vec-const","details":"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.","aliases":["CVE-2021-45680","GHSA-jmwx-r3gq-qq3p","RUSTSEC-2021-0082"],"modified":"2023-11-08T04:07:21.429742Z","published":"2022-01-06T22:15:56Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-01-06T18:17:26Z","nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":["CWE-787"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45680"},{"type":"WEB","url":"https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241"},{"type":"WEB","url":"https://github.com/Eolu/vec-const"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0082.html"}],"affected":[{"package":{"name":"vec-const","ecosystem":"crates.io","purl":"pkg:cargo/vec-const"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-x76r-966h-5qv9/GHSA-x76r-966h-5qv9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}