{"id":"CVE-2020-36432","aliases":["CVE-2020-36432","GHSA-3vv3-frrq-6486","RUSTSEC-2020-0033"],"related":[],"kind":"vulnerability","state":"published","title":"Use of Uninitialized Resource in alg_ds","summary":"An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. There is a drop of uninitialized memory in Matrix::new().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. There is a drop of uninitialized memory in Matrix::new().","source":"cvelist"},{"lang":"en","text":"An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. `Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer.\nThis pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate alg_ds versiones hasta 25-08-2020 para Rust. Se presenta una caída de memoria no inicializada en la función Matrix::new()","source":"nvd"}],"published":"2020-08-25T12:00:00.000Z","modified":"2026-06-17T03:15:28.787Z","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-665","CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.3.1"}],"ecosystem":"crates.io","package":"alg_ds","purl":"pkg:cargo/alg_ds","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"alg_ds","purl":"pkg:cargo/alg_ds","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-08-25"}],"vendor":"alg_ds_project","product":"alg_ds","cpe":"cpe:2.3:a:alg_ds_project:alg_ds:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0033.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/alg_ds/RUSTSEC-2020-0033.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36432","tags":["advisory"],"sources":["ghsa"]},{"url":"https://gitlab.com/dvshapkin/alg-ds","tags":["package"],"sources":["ghsa"]},{"url":"https://gitlab.com/dvshapkin/alg-ds/-/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/alg_ds","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36432","url":"https://www.cve.org/CVERecord?id=CVE-2020-36432","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:07.259Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3vv3-frrq-6486","url":"https://github.com/advisories/GHSA-3vv3-frrq-6486","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.476Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0033","url":"https://rustsec.org/advisories/RUSTSEC-2020-0033.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:44.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36432","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36432","licence":"Public domain","modified":"2026-06-17T03:15:28.787Z"}],"updatedAt":"2026-11-25T22:57:58.281Z","epss":{"score":0.0123,"percentile":0.68934,"date":"2026-11-30T12:00:22.000Z"}}