Опубликовано: 25 авг. 2021
Источник: github
Github: Прошло ревью
CVSS4: 9.3
CVSS3: 9.8
Описание
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.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2018-20998
- https://github.com/arrayfire/arrayfire-rust/pull/177
- https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8
- https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml
- https://rustsec.org/advisories/RUSTSEC-2018-0011.html
Пакеты
Наименование
arrayfire
rust
Затронутые версииВерсия исправления
< 3.6.0
3.6.0
Наименование
arrayfire
pip
Затронутые версииВерсия исправления
< 3.6.0
3.6.0
EPSS
Процентиль: 62%
0.00433
Низкий
9.3 Critical
CVSS4
9.8 Critical
CVSS3
CVE ID
Дефекты
CWE-119
Связанные уязвимости
CVSS3: 9.8
nvd
больше 6 лет назад
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.
EPSS
Процентиль: 62%
0.00433
Низкий
9.3 Critical
CVSS4
9.8 Critical
CVSS3
CVE ID
Дефекты
CWE-119