RUSTSEC-2020-0033
on 2020-08-25: Matrix::new() drops uninitialized memory
This crate has no reviews yet. To add a review, set up your cargo-crev
.
Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.
To review the actual code of the crate, it's best to use cargo crev open alg_ds
. Alternatively, you can download the tarball of alg_ds v0.3.1 or view the source online.
Matrix::new()
internally callsMatrix::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.CVE-2020-36432
GHSA-3vv3-frrq-6486