GHSA-3vv3-frrq-6486
Dashboard / Vulnerabilities / GHSA-3vv3-frrq-6486
GHSA-3vv3-frrq-6486
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Use of Uninitialized Resource in alg_ds
Details: An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. `Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-36432, https://gitlab.com/dvshapkin/alg-ds, https://gitlab.com/dvshapkin/alg-ds/-/issues/1, https://rustsec.org/advisories/RUSTSEC-2020-0033.html
Affected packages
Package
Name: alg_ds
Purl: pkg:cargo/alg_ds
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
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
