CVE-2021-31996: Double free in algorithmica
An issue was discovered in the algorithmica crate through 2021-03-07 for Rust. In the affected versions of this crate, merge_sort::merge()
wildly duplicates and drops ownership of T
without guarding against double-free. Due to such implementation, simply invoking merge_sort::merge()
on Vec<T: Drop>
can cause double free bugs.
References
Detect and mitigate CVE-2021-31996 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →