Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY5ZnYtZ3c2Zy04Y2Nn
Potential memory corruption in arrayfire
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.
Permalink: https://github.com/advisories/GHSA-69fv-gw6g-8ccgJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY5ZnYtZ3c2Zy04Y2Nn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: 2 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-69fv-gw6g-8ccg, CVE-2018-20998
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-20998
- https://github.com/arrayfire/arrayfire-rust/pull/177
- https://rustsec.org/advisories/RUSTSEC-2018-0011.html
- https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml
- https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8
- https://github.com/advisories/GHSA-69fv-gw6g-8ccg
Blast Radius: 20.7
Affected Packages
pypi:arrayfire
Dependent packages: 5Dependent repositories: 13
Downloads: 4,693 last month
Affected Version Ranges: < 3.6.0
Fixed in: 3.6.0
All affected versions: 3.0.20150914, 3.1.20151111, 3.2.20151211, 3.2.20151214, 3.2.20151224, 3.3.20160320, 3.3.20160328, 3.3.20160427, 3.3.20160510, 3.3.20160516, 3.3.20160624, 3.4.20160925, 3.4.20161126, 3.4.20170222, 3.5.20170718, 3.5.20170721, 3.5.20170817
All unaffected versions: 3.6.0, 3.6.20181017, 3.8.0
cargo:arrayfire
Dependent packages: 17Dependent repositories: 10
Downloads: 91,032 total
Affected Version Ranges: < 3.6.0
Fixed in: 3.6.0
All affected versions: 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0
All unaffected versions: 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.7.0, 3.7.1, 3.7.2, 3.8.0