Double Free Affecting arrow2 package, versions <0.7.1 >=0.8.0 <0.8.2 >=0.9.0 <0.9.2
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
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 ID SNYK-RUST-ARROW2-2419050
- published 6 Mar 2022
- disclosed 4 Mar 2022
- credit zirconium-n
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.