Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qbXd4LXIzZ3EtcXEzcM4AArs-

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.

Permalink: https://github.com/advisories/GHSA-jmwx-r3gq-qq3p
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qbXd4LXIzZ3EtcXEzcM4AArs-
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: about 1 year ago


Identifiers: GHSA-jmwx-r3gq-qq3p
References: Repository: https://github.com/Eolu/vec-const

Affected Packages

cargo:vec-const
Dependent packages: 0
Dependent repositories: 0
Downloads: 949 total
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1
All unaffected versions: 2.0.0, 2.0.1, 3.0.0, 3.0.1