{"id":"CVE-2021-45688","aliases":["CVE-2021-45688","GHSA-64wv-8vwp-xgw2","GHSA-qj69-c89v-jwq2","RUSTSEC-2021-0090"],"related":[],"kind":"vulnerability","state":"published","title":"Use of Uninitialized Resource in ash.","summary":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate ash versiones anteriores a 0.33.1 para Rust. La función util::read_spv puede leer desde ubicaciones de memoria no inicializadas","source":"nvd"}],"published":"2021-01-07T12:00:00.000Z","modified":"2026-06-17T04:13:57.060Z","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":"GitHub","scheme":"rating","rating":"HIGH"},{"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","fixed":"0.33.1"}],"ecosystem":"crates.io","package":"ash","purl":"pkg:cargo/ash","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.33.1"}],"ecosystem":"crates.io","package":"ash","purl":"pkg:cargo/ash","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.33.1"}],"ecosystem":"crates.io","package":"ash","purl":"pkg:cargo/ash","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.33.1"}],"vendor":"ash-rs","product":"ash","cpe":"cpe:2.3:a:ash-rs:ash:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0090.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/ash/RUSTSEC-2021-0090.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45688","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/MaikKlein/ash/issues/354","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/ash-rs/ash/issues/354","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ash-rs/ash/pull/470","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ash-rs/ash/commit/2c98b6f384a017de031698bd623551a45f24c8f9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/MaikKlein/ash","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/ash-rs/ash/compare/0.33.0...0.33.1","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/ash","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45688","url":"https://www.cve.org/CVERecord?id=CVE-2021-45688","licence":"CVE Terms of Use","modified":"2024-08-04T04:47:02.011Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-64wv-8vwp-xgw2","url":"https://github.com/advisories/GHSA-64wv-8vwp-xgw2","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:21.935Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qj69-c89v-jwq2","url":"https://github.com/advisories/GHSA-qj69-c89v-jwq2","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:21.935Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0090","url":"https://rustsec.org/advisories/RUSTSEC-2021-0090.html","licence":"CC0-1.0","modified":"2023-11-08T04:07:21.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45688","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45688","licence":"Public domain","modified":"2026-06-17T04:13:57.060Z"}],"updatedAt":"2026-11-25T22:58:06.262Z","epss":{"score":0.0139,"percentile":0.73121,"date":"2026-12-01T12:00:22.000Z"}}