PT-2020-17611

CVE-2020-36432

·

Published

2020-08-25

·

Updated

2022-07-12

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions alg ds crate through 2020-08-25
Description The issue is related to a drop of uninitialized memory in Matrix::new(). This function internally calls Matrix::fill with(), which uses the *ptr = value pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, resulting in the dropping of an uninitialized struct.
Recommendations For the alg ds crate through 2020-08-25, consider avoiding the use of Matrix::new() until a fix is available. As a temporary workaround, consider disabling the Matrix::fill with() function to prevent the dropping of uninitialized memory. At the moment, there is no information about a newer version that contains a fix for this issue.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-3VV3-FRRQ-6486
RUSTSEC-2020-0033
Found an issue in the description? Have something to add? Feel free to write us 👾