CVE-2021-45689 Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )
The gfx-auxil crate may read from uninitialized memory, potentially disclosing sensitive data to attackers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-45689?
CVE-2021-45689 is a critical vulnerability in n/a, published on 26 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-908
Which versions are affected by CVE-2021-45689?
5 open source packages ship an affected version, including gfx-auxil. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gfx-auxil crates.io | All versions to 0.10.0 | None |
gfx-auxil crates.io | All versions to 0.10.0 | None |
gfx-auxil crates.io | All versions to 0.10.0 | None |
gfx-auxil crates.io | All versions to 0.10.0 | None |
gfx-auxil crates.io | From 0.0.0-0 | None |
Products include Gfx-Auxil Project Gfx-Auxil.
How do I fix CVE-2021-45689?
No fix has been published for CVE-2021-45689 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-45689 being exploited?
There is no known exploitation of CVE-2021-45689 in the wild and no public exploit code.
Sources
Also known as GHSA-28p5-7rg4-8v99, GHSA-ff2r-xpwq-6whj, RUSTSEC-2021-0091.