{"id":"CVE-2021-29936","aliases":["CVE-2021-29936","GHSA-rg4m-gww5-7p47","RUSTSEC-2021-0045"],"related":[],"kind":"vulnerability","state":"published","title":"Free of uninitialized memory in adtensor","summary":"An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in the adtensor crate through 0.0.3 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The `FromIterator<T>` methods for `Vector` and `Matrix` rely on the type\nparameter `N` to allocate space in the iterable.\n\nIf the passed in `N` type parameter is larger than the number of items returned\nby the iterator, it can lead to uninitialized memory being left in the\n`Vector` or `Matrix` type which gets dropped.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate adtensor hasta el 11-01-2021 para Rust.&#xa0;Se presenta una perdida de la memoria no inicializada por medio de la implementación de FromIterator para Vector y Matrix.","source":"nvd"}],"published":"2021-01-11T12:00:00.000Z","modified":"2026-06-17T03:48:28.340Z","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-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.3"}],"ecosystem":"crates.io","package":"adtensor","purl":"pkg:cargo/adtensor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"adtensor","purl":"pkg:cargo/adtensor","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2021-01-11"}],"vendor":"adtensor_project","product":"adtensor","cpe":"cpe:2.3:a:adtensor_project:adtensor:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0045.html","tags":["advisory","exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29936","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/charles-r-earp/adtensor/issues/4","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/charles-r-earp/adtensor","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/adtensor","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29936","url":"https://www.cve.org/CVERecord?id=CVE-2021-29936","licence":"CVE Terms of Use","modified":"2024-08-03T22:18:03.329Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rg4m-gww5-7p47","url":"https://github.com/advisories/GHSA-rg4m-gww5-7p47","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:43.880Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0045","url":"https://rustsec.org/advisories/RUSTSEC-2021-0045.html","licence":"CC0-1.0","modified":"2023-11-08T04:05:43.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29936","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29936","licence":"Public domain","modified":"2026-06-17T03:48:28.340Z"}],"updatedAt":"2026-11-25T22:58:00.539Z","epss":{"score":0.01373,"percentile":0.72794,"date":"2026-12-01T12:00:22.000Z"}}