RUSTSEC-2021-0082

Source
https://rustsec.org/advisories/RUSTSEC-2021-0082
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0082.json
Aliases
Published
2021-08-14T12:00:00Z
Modified
2023-11-08T04:07:21.429742Z
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

Affected packages

crates.io / vec-const

Package

Name
vec-const

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
2.0.0

Ecosystem specific

{
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": "unsound",
    "categories": [
        "memory-corruption"
    ]
}