Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14NzZyLTk2NmgtNXF2Oc0fog
Out-of-bounds Write in vec-const
An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.
Permalink: https://github.com/advisories/GHSA-x76r-966h-5qv9JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14NzZyLTk2NmgtNXF2Oc0fog
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 11 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-x76r-966h-5qv9, CVE-2021-45680
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-45680
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md
- https://rustsec.org/advisories/RUSTSEC-2021-0082.html
- https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241
- https://github.com/advisories/GHSA-x76r-966h-5qv9
Blast Radius: 1.0
Affected Packages
cargo:vec-const
Dependent packages: 0Dependent repositories: 0
Downloads: 2,468 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