Files
advisory-db/packages/algorithmica.json
T
2025-10-27 16:49:06 +00:00

67 lines
1.7 KiB
JSON

[
{
"id": "RUSTSEC-2021-0053",
"modified": "2023-06-13T13:10:24Z",
"published": "2021-03-07T12:00:00Z",
"aliases": [
"CVE-2021-31996",
"GHSA-jh37-772x-4hpw"
],
"related": [],
"summary": "'merge_sort::merge()' crashes with double-free for `T: Drop`",
"details": "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,\nsimply invoking `merge_sort::merge()` on `Vec<T: Drop>` can cause **double free** bugs.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "algorithmica",
"purl": "pkg:cargo/algorithmica"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": null,
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/algorithmica"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0053.html"
},
{
"type": "REPORT",
"url": "https://github.com/AbrarNitk/algorithmica/issues/1"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]