{ "schema_version": "1.4.0", "id": "GHSA-955p-rc5h-hg6h", "modified": "2023-06-13T16:52:27Z", "published": "2021-08-25T20:55:04Z", "aliases": [ "CVE-2021-29931" ], "summary": "Double free in arenavec", "details": "Affected versions of this crate did not guard against potential panics that may happen from user-provided functions T::default() and T::drop().\n\nPanic within T::default() leads to dropping uninitialized T, when it is invoked from common::Slice::::new(). Panic within T::drop() leads to double drop of T, when it is invoked either from common::SliceVec::::resize_with() or common::SliceVec::::resize()\n\nEither case causes memory corruption in the heap memory.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "arenavec" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "0.1.1" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29931" }, { "type": "WEB", "url": "https://github.com/ibabushkin/arenavec/issues/1" }, { "type": "PACKAGE", "url": "https://github.com/ibabushkin/arenavec" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2021-0040.html" } ], "database_specific": { "cwe_ids": [ "CWE-415" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-19T17:08:56Z", "nvd_published_at": null } }