CRITICAL 9.8 crates.io
Potential memory corruption in arrayfire
GHSA-69fv-gw6g-8ccg · CVE-2018-20998 · RUSTSEC-2018-0011
Published · Modified
Description
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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2018-20998
- WEB https://github.com/arrayfire/arrayfire-rust/pull/177
- WEB https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8
- PACKAGE https://github.com/arrayfire/arrayfire-rust
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml
- WEB https://rustsec.org/advisories/RUSTSEC-2018-0011.html
Ready to move
Start Securing
Free, no credit card | First findings in minutes