RUSTSEC-2018-0011
Dashboard / Vulnerabilities / RUSTSEC-2018-0011
RUSTSEC-2018-0011
Published: 18 Dec 2018Last Modified: 8 Nov 2023
Aliases:
Summary: Enum repr causing potential memory corruption
Details: The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain. arrayfire crates <= version 3.5.0 do not have this issue when used with Rust versions 1.27 or earlier. The issue only started to appear since Rust version 1.28. The issue seems to be interlinked with which version of Rust is being used. The issue was fixed in crate 3.6.0.
References: https://crates.io/crates/arrayfire, https://rustsec.org/advisories/RUSTSEC-2018-0011.html, https://github.com/arrayfire/arrayfire-rust/pull/177
Affected packages
Package
Name: arrayfire
Purl: pkg:cargo/arrayfire
Affected ranges
Type: SEMVER
Events:
Introduced- 3.5.1-0
Fixed -3.6.0
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
