{ "schema_version": "1.4.0", "id": "GHSA-cv7x-6rc6-pq5v", "modified": "2023-06-13T17:00:36Z", "published": "2021-08-25T20:53:05Z", "aliases": [ "CVE-2021-25907" ], "summary": "Double free in containers", "details": "Upon panic in a user-provided function f, fn mutate() & fn mutate2 drops twice a same object.\n\nAffected versions of this crate did not guard against double drop while temporarily duplicating an object's ownership with ptr::read().\n\nDropping a same object can result in memory corruption.\n\nThe flaw was corrected in version \"0.9.11\" by fixing the code to abort upon panic.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "containers" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.9.11" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25907" }, { "type": "WEB", "url": "https://github.com/strake/containers.rs/issues/2" }, { "type": "PACKAGE", "url": "https://github.com/strake/containers.rs" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2021-0010.html" } ], "database_specific": { "cwe_ids": [ "CWE-415" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-19T18:40:39Z", "nvd_published_at": null } }