CVE-2018-20998
Potential memory corruption in arrayfire
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue was discovered in the arrayfire crate before 3.6.0 for Rust. Addition of the repr() attribute to an enum is mishandled, leading to memory corruption.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | arrayfire | 3.6.0 |
| pip::GitHub Security Advisory pip | arrayfire | 3.6.0 |
References
- https://github.com/arrayfire/arrayfire-rust
- https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8
- https://github.com/arrayfire/arrayfire-rust/pull/177
- https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2018-20998
- https://rustsec.org/advisories/RUSTSEC-2018-0011.html