[ { "id": "RUSTSEC-2020-0050", "modified": "2023-06-13T13:10:24Z", "published": "2020-09-27T12:00:00Z", "aliases": [ "CVE-2020-35903", "GHSA-qxjq-v4wf-ppvh" ], "related": [], "summary": "VecCopy allows misaligned access to elements", "details": "`VecCopy::data` is created as a Vec of u8 but can be used to store and retrieve\nelements of different types leading to misaligned access.\n\nThe issue was resolved in v0.5.0 by replacing data being stored by `Vec` with a custom managed\npointer. Elements are now stored and retrieved using types with proper alignment corresponding to\noriginal types.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "dync", "purl": "pkg:cargo/dync" }, "ecosystem_specific": { "affects": { "arch": [], "os": [], "functions": [] }, "affected_functions": null }, "database_specific": { "categories": [], "cvss": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "informational": "unsound" }, "ranges": [ { "type": "SEMVER", "events": [ { "introduced": "0.0.0-0" }, { "fixed": "0.5.0" } ] } ], "versions": [] } ], "references": [ { "type": "PACKAGE", "url": "https://crates.io/crates/dync" }, { "type": "ADVISORY", "url": "https://rustsec.org/advisories/RUSTSEC-2020-0050.html" }, { "type": "REPORT", "url": "https://github.com/elrnv/dync/issues/4" } ], "database_specific": { "license": "CC0-1.0" } } ]