CVE-2021-45689 json
Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )
published 2021-01-07 5 y ago modified 2026-06-17 4 mo ago also GHSA-28p5-7rg4-8v99 , GHSA-ff2r-xpwq-6whj , RUSTSEC-2021-0091 , EUVD-2022-0581
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | gfx-auxil | <=0.10.0 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
References
-
rustsec.org
/advisories/RUSTSEC-2021-0091.html
web, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/gfx-auxil/RUSTSEC-2021-0091.md
web, third-party-advisory
-
github.com
/gfx-rs/gfx/issues/3567
web, report
-
github.com
/gfx-rs/gfx
package
-
nvd.nist.gov
/vuln/detail/CVE-2021-45689
advisory
-
crates.io
/crates/gfx-auxil
package
Sources
- CVE List CVE-2021-45689
- GitHub Advisory GHSA-28p5-7rg4-8v99
- GitHub Advisory GHSA-ff2r-xpwq-6whj
- NVD CVE-2021-45689
- OSV RUSTSEC-2021-0091
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.