logo

CVE-2021-31996 algorithmica

Package

Manager: cargo
Name: algorithmica
Vulnerable Version: >=0 <=0.1.8

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00389 pctl0.59189

Details

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.

Metadata

Created: 2021-08-25T21:01:52Z
Modified: 2021-08-24T19:12:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jh37-772x-4hpw/GHSA-jh37-772x-4hpw.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-jh37-772x-4hpw
Finding: F138
Auto approve: 1