[ { "id": "RUSTSEC-2020-0042", "modified": "2023-06-13T13:10:24Z", "published": "2020-09-24T12:00:00Z", "aliases": [ "CVE-2020-35895", "GHSA-h45v-vgvp-3h5v" ], "related": [], "summary": "Missing check in ArrayVec leads to out-of-bounds write.", "details": "ArrayVec::insert allows insertion of an element into the array object into the\nspecified index. Due to a missing check on the upperbound of this index, it is\npossible to write out of bounds.", "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": "stack", "purl": "pkg:cargo/stack" }, "ecosystem_specific": { "affects": { "arch": [], "os": [], "functions": [] }, "affected_functions": null }, "database_specific": { "categories": [], "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "informational": null }, "ranges": [ { "type": "SEMVER", "events": [ { "introduced": "0.0.0-0" }, { "fixed": "0.3.1" } ] } ], "versions": [] } ], "references": [ { "type": "PACKAGE", "url": "https://crates.io/crates/stack" }, { "type": "ADVISORY", "url": "https://rustsec.org/advisories/RUSTSEC-2020-0042.html" }, { "type": "REPORT", "url": "https://github.com/arcnmx/stack-rs/issues/4" } ], "database_specific": { "license": "CC0-1.0" } } ]