Stack-based Buffer Overflow Affecting arrayfire package, versions <3.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ARRAYFIRE-73495
  • published10 Jan 2019
  • disclosed27 Sept 2018
  • creditUnknown

Introduced: 27 Sep 2018

CVE-2018-20998  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade arrayfire to version 3.6.0 or higher.

Overview

arrayfire is a library for parallel computing with an easy-to-use API.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow. The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain.

CVSS Scores

version 3.1