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-8ccg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY5ZnYtZ3c2Zy04Y2Nn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: 11 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: Repository: https://github.com/arrayfire/arrayfire-rust
Blast Radius: 20.7

Affected Packages

pypi:arrayfire
Dependent packages: 3
Dependent repositories: 13
Downloads: 1,492 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: 17
Dependent repositories: 10
Downloads: 79,939 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