GHSA-jmwx-r3gq-qq3p
Dashboard / Vulnerabilities / GHSA-jmwx-r3gq-qq3p
GHSA-jmwx-r3gq-qq3p
Published: 17 Jun 2022Last Modified: 8 Nov 2023
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`.
References: https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241, https://github.com/Eolu/vec-const, https://rustsec.org/advisories/RUSTSEC-2021-0082.html
Affected packages
Package
Name: vec-const
Purl: pkg:cargo/vec-const
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -2.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
