{ "schema_version": "1.4.0", "id": "GHSA-jmwx-r3gq-qq3p", "modified": "2022-06-17T00:27:57Z", "published": "2022-06-17T00:27:57Z", "aliases": [], "summary": "vec-const attempts to construct a Vec from a pointer to a const slice", "details": "Affected versions of this crate claimed to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator.\n\nThe implementation was later changed to just construct a `std::borrow::Cow`.\n", "severity": [], "affected": [ { "package": { "ecosystem": "crates.io", "name": "vec-const" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.0.0" } ] } ] } ], "references": [ { "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://rustsec.org/advisories/RUSTSEC-2021-0082.html" } ], "database_specific": { "cwe_ids": [], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2022-06-17T00:27:57Z", "nvd_published_at": null } }