GHSA-jmwx-r3gq-qq3p

Suggest an improvement
Source
https://github.com/advisories/GHSA-jmwx-r3gq-qq3p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-jmwx-r3gq-qq3p/GHSA-jmwx-r3gq-qq3p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jmwx-r3gq-qq3p
Aliases
Published
2022-06-17T00:27:57Z
Modified
2023-11-08T04:07:21.429742Z
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.

The implementation was later changed to just construct a std::borrow::Cow.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-17T00:27:57Z"
}
References

Affected packages

crates.io / vec-const

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0