Double Free Affecting arrow2 package, versions <0.7.1>=0.8.0 <0.8.2>=0.9.0 <0.9.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-ARROW2-2419050
  • published6 Mar 2022
  • disclosed4 Mar 2022
  • creditzirconium-n

Introduced: 4 Mar 2022

CVE NOT AVAILABLE CWE-415  (opens in a new tab)

How to fix?

Upgrade arrow2 to version 0.7.1, 0.8.2, 0.9.2 or higher.

Overview

arrow2 is a the most feature-complete implementation of the Arrow format after the C++ implementation.

Affected versions of this package are vulnerable to Double Free when cloned via the struct Ffi_ArrowArray which implements #derive(Clone) that is inconsistent with its custom implementation of Drop. Cloning this struct in safe results in a segmentation fault, which is unsound.

CVSS Base Scores

version 3.1