GHSA-28p5-7rg4-8v99
Dashboard / Vulnerabilities / GHSA-28p5-7rg4-8v99
GHSA-28p5-7rg4-8v99
Published: 16 Jun 2022Last Modified: 8 Nov 2023
Summary: Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )
Details: Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation. Arbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.
References: https://github.com/gfx-rs/gfx/issues/3567, https://github.com/gfx-rs/gfx, https://rustsec.org/advisories/RUSTSEC-2021-0091.html
Affected packages
Package
Name: gfx-auxil
Purl: pkg:cargo/gfx-auxil
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
