GHSA-jmwx-r3gq-qq3p – vec-const
Package
Manager: cargo
Name: vec-const
Vulnerable Version: >=0 <2.0.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
vec-const attempts to construct a Vec from a pointer to a const slice 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`.
Metadata
Created: 2022-06-17T00:27:57Z
Modified: 2022-06-17T00:27:57Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-jmwx-r3gq-qq3p/GHSA-jmwx-r3gq-qq3p.json
CWE IDs: []
Alternative ID: N/A
Finding: F113
Auto approve: 1