GHSA-5j8w-r7g8-5472 – arrow2
Package
Manager: cargo
Name: arrow2
Vulnerable Version: >=0 <0.7.1 || >=0.8.0 <0.8.2 || >=0.9.0 <0.9.2
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
Arrow2 allows double free in `safe` code The struct `Ffi_ArrowArray` implements `#derive(Clone)` that is inconsistent with its custom implementation of `Drop`, resulting in a double free when cloned. Cloning this struct in `safe` results in a segmentation fault, which is unsound. This derive was removed from this struct. All users are advised to either: * bump the patch version of this crate (for versions `v0.7,v0.8,v0.9`), or * migrate to a more recent version of the crate (when using `<0.7`). Doing so elimitates this vulnerability (code no longer compiles).
Metadata
Created: 2022-06-16T23:42:08Z
Modified: 2022-06-16T23:42:08Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-5j8w-r7g8-5472/GHSA-5j8w-r7g8-5472.json
CWE IDs: ["CWE-415"]
Alternative ID: N/A
Finding: F138
Auto approve: 1