GitHub Advisoryadvisory · crates.io
GHSA-3vv3-frrq-6486 Use of Uninitialized Resource in alg_ds
CRITICAL
Official page ↗
- Aliases
- CVE-2020-36432
- Ecosystem
- crates.io
- Packages
- alg_ds
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-665, CWE-908
- Reviewed
- 2021-08-09
Affected packages
• crates.io alg_ds: <= 0.3.1 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2020-36432 An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. vulnerability