CVE-2021-45689
CRITICAL 9.8CVSS 3.1Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )
An issue was discovered in the gfx-auxil crate through 2021-01-07 for Rust. gfx_auxil::read_spirv may read from uninitialized memory locations.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-908
- Also known as
- GHSA-28p5-7rg4-8v99GHSA-ff2r-xpwq-6whjRUSTSEC-2021-0091
- Sources
- NVDJSONOSV GHSA-28p5-7rg4-8v99JSONOSV GHSA-ff2r-xpwq-6whjJSONOSV RUSTSEC-2021-0091JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gfx-auxil_project | gfx-auxilcpe:2.3:a:gfx-auxil_project:gfx-auxil:*:*:*:*:*:rust:*:* |
<= 0.10.0 | |
| OSV | crates.io | gfx-auxil | <= 0.10.0 | |
| OSV | crates.io | gfx-auxil | >= 0.0.0-0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/gfx-auxil/RUSTSEC-2021-0091.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0091.html · Third Party Advisory, WEB, ADVISORY
- https://github.com/gfx-rs/gfx/issues/3567 · WEB, REPORT
- https://github.com/gfx-rs/gfx · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-45689 · ADVISORY
- https://crates.io/crates/gfx-auxil · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)