RUSTSEC-2020-0033
Dashboard / Vulnerabilities / RUSTSEC-2020-0033
RUSTSEC-2020-0033
Published: 25 Aug 2020Last Modified: 8 Nov 2023
Aliases:
Summary: Matrix::new() drops uninitialized memory
Details: `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://crates.io/crates/alg_ds, https://rustsec.org/advisories/RUSTSEC-2020-0033.html, https://gitlab.com/dvshapkin/alg-ds/-/issues/1
Affected packages
Package
Name: alg_ds
Purl: pkg:cargo/alg_ds
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-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
