arrayfire
Affected
- introduced
0.0.0-0, fixed3.6.0(semver)
Fixed versions
3.6.0
Fix
- Fixed version
3.6.0cargo update -p arrayfire --precise 3.6.0
Advisory
Also known as: CVE-2018-20998, GHSA-69fv-gw6g-8ccg
Enum repr causing potential memory corruption
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.
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.0.0-0, fixed 3.6.0 (semver)3.6.0
3.6.0cargo update -p arrayfire --precise 3.6.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0