GHSA-x76r-966h-5qv9
Dashboard / Vulnerabilities / GHSA-x76r-966h-5qv9
GHSA-x76r-966h-5qv9
Published: 6 Jan 2022Last Modified: 8 Nov 2023
Summary: Out-of-bounds Write in vec-const
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-45680, https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241, https://github.com/Eolu/vec-const, https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md, https://rustsec.org/advisories/RUSTSEC-2021-0082.html
Affected packages
Package
Name: vec-const
Purl: pkg:cargo/vec-const
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -2.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
