{"id":"CVE-2021-29936","aliases":["EUVD-2021-1867","GHSA-rg4m-gww5-7p47","RUSTSEC-2021-0045"],"status":"published","title":"Free of uninitialized memory in adtensor","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01373,"percentile":0.72216,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-908"],"published":"2021-01-11T12:00:00Z","modified":"2026-06-17T03:48:28Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"adtensor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"adtensor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"adtensor","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"products":[{"vendor":"adtensor_project","product":"adtensor"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0045.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29936","tags":["advisory"]},{"url":"https://github.com/charles-r-earp/adtensor/issues/4","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-rg4m-gww5-7p47"},{"url":"https://github.com/charles-r-earp/adtensor","tags":["package"]},{"url":"https://crates.io/crates/adtensor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-29936","description":"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.","status":"published","published":"2021-04-01T04:23:46Z","modified":"2024-08-03T22:18:03.329Z","updated_at":"2026-11-02T14:33:06.32268Z"}],"euvd":[{"id":"EUVD-2021-1867","description":"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.","status":"published","published":"2021-04-01T04:23:46Z","modified":"2024-08-03T22:18:03Z","updated_at":"2026-11-03T03:24:43.413555Z"}],"ghsa":[{"id":"GHSA-rg4m-gww5-7p47","title":"Free of uninitialized memory in adtensor","description":"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.","status":"published","published":"2021-08-25T20:54:18Z","modified":"2023-01-09T05:05:35Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:36:11.367194Z"}],"nvd":[{"id":"CVE-2021-29936","description":"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.","status":"published","published":"2021-04-01T05:15:14.64Z","modified":"2026-06-17T03:48:28.34Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:06:51.197859Z"}],"osv":[{"id":"GHSA-rg4m-gww5-7p47","title":"Free of uninitialized memory in adtensor","description":"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.","status":"published","published":"2021-08-25T20:54:18Z","modified":"2023-11-08T04:05:43.880078Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:55.877614Z"},{"id":"RUSTSEC-2021-0045","title":"FromIterator implementation for Vector/Matrix can drop uninitialized memory","description":"The `FromIterator\u003cT\u003e` 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.","status":"published","published":"2021-01-11T12:00:00Z","modified":"2023-11-08T04:05:43.880078Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
