Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWpoMzctNzcyeC00aHB3
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWpoMzctNzcyeC00aHB3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: almost 2 years ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-jh37-772x-4hpw, CVE-2021-31996
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-31996
- https://rustsec.org/advisories/RUSTSEC-2021-0053.html
- https://github.com/AbrarNitk/algorithmica/issues/1
- https://github.com/advisories/GHSA-jh37-772x-4hpw
Blast Radius: 1.0
Affected Packages
cargo:algorithmica
Dependent packages: 0Dependent repositories: 0
Downloads: 11,126 total
Affected Version Ranges: <= 0.1.8
No known fixed version
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8