PT-2021-19620 · Unknown · Algorithmica Crate
Abrarnitk
·
Published
2021-03-07
·
Updated
2021-08-25
·
CVE-2021-31996
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions:
algorithmica crate through 2021-03-07
Description:
The issue is related to a double free in the
merge sort::merge() function. In the affected versions of the algorithmica crate, merge sort::merge() duplicates and drops ownership of T without guarding against double-free, which can cause double free bugs when invoked on Vec<T: Drop>.Recommendations:
For algorithmica crate through 2021-03-07, consider disabling the
merge sort::merge() function until a patch is available to prevent double free bugs. Restrict the use of merge sort::merge() on Vec<T: Drop> to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Algorithmica Crate