{"id":"CVE-2021-45688","aliases":["EUVD-2022-0476","GHSA-64wv-8vwp-xgw2","GHSA-qj69-c89v-jwq2","RUSTSEC-2021-0090"],"status":"published","title":"Use of Uninitialized Resource in ash.","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","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.0139,"percentile":0.72544,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-908"],"published":"2021-01-07T12:00:00Z","modified":"2026-10-24T10:30:50Z","fixes":[{"ecosystem":"crates.io","package":"ash","fixed_in":["0.33.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"ash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.33.1"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"ash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.33.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"ash","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.33.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"ash","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.33.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"ash","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.33.1"}]}]}],"products":[{"vendor":"ash-rs","product":"ash"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0090.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ash/RUSTSEC-2021-0090.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45688","tags":["advisory"]},{"url":"https://github.com/ash-rs/ash/issues/354","tags":["web"]},{"url":"https://github.com/ash-rs/ash/pull/470","tags":["web"]},{"url":"https://github.com/ash-rs/ash/commit/2c98b6f384a017de031698bd623551a45f24c8f9","tags":["web"]},{"url":"https://github.com/ash-rs/ash/compare/0.33.0...0.33.1","tags":["web"]},{"url":"https://github.com/MaikKlein/ash/issues/354","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-64wv-8vwp-xgw2"},{"url":"https://github.com/advisories/GHSA-qj69-c89v-jwq2"},{"url":"https://github.com/MaikKlein/ash","tags":["package"]},{"url":"https://crates.io/crates/ash","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-45688","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:51:47Z","modified":"2024-08-04T04:47:02.011Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2022-0476","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:51:47Z","modified":"2024-08-04T04:47:02Z","updated_at":"2026-11-03T03:08:25.77408Z"}],"ghsa":[{"id":"GHSA-64wv-8vwp-xgw2","title":"Use of Uninitialized Resource in ash.","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:13:02Z","modified":"2023-06-13T16:01:37Z","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:53.103029Z"},{"id":"GHSA-qj69-c89v-jwq2","title":"Reading on uninitialized memory may cause UB ( `util::read_spv()` )","description":"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.\n","status":"published","published":"2022-06-16T23:41:05Z","modified":"2023-01-12T05:01:04Z","updated_at":"2026-11-02T14:36:13.23016Z"}],"nvd":[{"id":"CVE-2021-45688","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2021-12-27T00:15:09.163Z","modified":"2026-06-17T04:13:57.06Z","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:07:02.977492Z"}],"osv":[{"id":"CVE-2021-45688","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2021-12-27T00:15:09.163Z","modified":"2026-10-24T10:30:50.967482705Z","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:44:22.18434Z"},{"id":"GHSA-64wv-8vwp-xgw2","title":"Use of Uninitialized Resource in ash.","description":"An issue was discovered in the ash crate before 0.33.1 for Rust. util::read_spv may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:13:02Z","modified":"2023-11-08T04:07:21.935679Z","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:39.266402Z"},{"id":"GHSA-qj69-c89v-jwq2","title":"Reading on uninitialized memory may cause UB ( `util::read_spv()` )","description":"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.\n","status":"published","published":"2022-06-16T23:41:05Z","modified":"2023-11-08T04:07:21.935679Z","updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"RUSTSEC-2021-0090","title":"Reading on uninitialized memory may cause UB ( `util::read_spv()` )","description":"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.","status":"published","published":"2021-01-07T12:00:00Z","modified":"2023-11-08T04:07:21.935679Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
