GHSA-jh37-772x-4hpw

Suggest an improvement
Source
https://github.com/advisories/GHSA-jh37-772x-4hpw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jh37-772x-4hpw/GHSA-jh37-772x-4hpw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jh37-772x-4hpw
Aliases
Published
2021-08-25T21:01:52Z
Modified
2023-11-08T04:05:51.884944Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Double free in algorithmica
Details

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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2021-05-25T20:52:19Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-415"
    ]
}
References

Affected packages

crates.io / algorithmica

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.8