{"id":"CVE-2020-35881","aliases":["CVE-2020-35881","GHSA-j79j-cx3h-g27h","RUSTSEC-2020-0027"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds write in traitobject","summary":"An issue was discovered in the traitobject crate through 2020-06-01 for Rust. It has false expectations about fat pointers, possibly causing memory corruption in, for example, Rust 2.x.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the traitobject crate through 2020-06-01 for Rust. It has false expectations about fat pointers, possibly causing memory corruption in, for example, Rust 2.x.","source":"cvelist"},{"lang":"en","text":"This crate gets the data pointer from fat pointers assuming that the first\nelement in a fat pointer is the data pointer. This is currently true, but\nit may change in a future Rust version, leading to memory corruption.\n\nThis has been fixed in the master branch of the crate, but is has not\nbeen released into crates.io.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate traitobject hasta el 01-06-2020 para Rust.&#xa0;Presenta falsas expectativas sobre los punteros fat, posiblemente causando una corrupción de la memoria, por ejemplo, en Rust versión 2.x.","source":"nvd"}],"published":"2020-06-01T12:00:00.000Z","modified":"2026-09-10T03:49:27.084Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.0"}],"ecosystem":"crates.io","package":"traitobject","purl":"pkg:cargo/traitobject","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"traitobject","purl":"pkg:cargo/traitobject","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"0.1.0"}],"vendor":"traitobject_project","product":"traitobject","cpe":"cpe:2.3:a:traitobject_project:traitobject:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0027.html","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35881","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/reem/rust-traitobject/issues/7","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/reem/rust-traitobject","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/traitobject","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35881","url":"https://www.cve.org/CVERecord?id=CVE-2020-35881","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:12.624Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j79j-cx3h-g27h","url":"https://github.com/advisories/GHSA-j79j-cx3h-g27h","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:27.084Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0027","url":"https://rustsec.org/advisories/RUSTSEC-2020-0027.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:37.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35881","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35881","licence":"Public domain","modified":"2026-06-17T03:14:31.557Z"}],"updatedAt":"2026-11-25T22:57:56.689Z","epss":{"score":0.01731,"percentile":0.78299,"date":"2026-12-01T12:00:22.000Z"}}