GHSA-5j8w-r7g8-5472

    Dashboard / Vulnerabilities / GHSA-5j8w-r7g8-5472

    GHSA-5j8w-r7g8-5472

    Published: 16 Jun 2022Last Modified: 8 Nov 2023

    Summary: Arrow2 allows double free in `safe` code

    Details: 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).

    Affected packages

    Package

    Name: arrow2

    Purl: pkg:cargo/arrow2

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.7.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-5j8w-r7g8-5472 | CVE-DB