vec-const
Affected
- introduced
0.0.0-0, fixed2.0.0(semver)
Fixed versions
2.0.0
Fix
- Fixed version
2.0.0cargo update -p vec-const --precise 2.0.0
Advisory
Also known as: CVE-2021-45680, GHSA-jmwx-r3gq-qq3p, GHSA-x76r-966h-5qv9
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.
Not rated by the source.
0.0.0-0, fixed 2.0.0 (semver)2.0.0
2.0.0cargo update -p vec-const --precise 2.0.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0