{"id":"CVE-2020-35903","aliases":["CVE-2020-35903","GHSA-qxjq-v4wf-ppvh","RUSTSEC-2020-0050"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds read in dync","summary":"An issue was discovered in the dync crate before 0.5.0 for Rust. VecCopy allows misaligned element access because u8 is not always the type in question.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the dync crate before 0.5.0 for Rust. VecCopy allows misaligned element access because u8 is not always the type in question.","source":"cvelist"},{"lang":"en","text":"VecCopy::data is created as a Vec of u8 but can be used to store and retrieve elements of different types leading to misaligned access.\n\nThe issue was resolved in v0.5.0 by replacing data being stored by Vec<u8> with a custom managed pointer. Elements are now stored and retrieved using types with proper alignment corresponding to original types.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`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<u8>` with a custom managed\npointer.  Elements are now stored and retrieved using types with proper alignment corresponding to\noriginal types.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate dync versiones anteriores a 0.5.0 para Rust.&#xa0;La función VecCopy permite un acceso a elementos desalineados porque u8 no siempre es el tipo en cuestión.","source":"nvd"}],"published":"2020-09-27T12:00:00.000Z","modified":"2026-06-17T03:14:34.373Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"crates.io","package":"dync","purl":"pkg:cargo/dync","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.5.0"}],"ecosystem":"crates.io","package":"dync","purl":"pkg:cargo/dync","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.5.0"}],"vendor":"dync_project","product":"dync","cpe":"cpe:2.3:a:dync_project:dync:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0050.html","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35903","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/elrnv/dync/issues/4","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/elrnv/dync","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/dync","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35903","url":"https://www.cve.org/CVERecord?id=CVE-2020-35903","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.156Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qxjq-v4wf-ppvh","url":"https://github.com/advisories/GHSA-qxjq-v4wf-ppvh","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:38.488Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0050","url":"https://rustsec.org/advisories/RUSTSEC-2020-0050.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:38.488Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35903","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35903","licence":"Public domain","modified":"2026-06-17T03:14:34.373Z"}],"updatedAt":"2026-11-25T22:57:56.640Z","epss":{"score":0.00379,"percentile":0.33947,"date":"2026-12-02T12:00:21.000Z"}}