GHSA-3vv3-frrq-6486CriticalCVSS 9.8

Use of Uninitialized Resource in alg_ds

Published
August 25, 2021
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • rust/alg_ds:<= 0.3.1

🔗 References (4)