Every CVESearch/Get API key

GHSA-5j8w-r7g8-5472

Arrow2 allows double free in `safe` code

No scoreFix available

GHSA-5j8w-r7g8-5472 is a vulnerability with no CVSS score yet in arrow2, published March 4, 2022. No source lists public exploit code. Fixed in arrow2 0.7.1.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
0.7.1arrow2 +3 more

Description

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

Affected packages
PackageAffectedFixed
arrow2
crates.io
before 0.7.1
0.7.1
arrow2
crates.io
0.8.0 up to 0.8.2
0.8.2
arrow2
crates.io
0.9.0 up to 0.9.2
0.9.2
arrow2
crates.io
0.0.0-0 up to 0.7.1, 0.8.0 up to 0.8.2, 0.9.0 up to 0.9.2, 0.10.0 up to 0.10.0
0.7.10.8.20.9.20.10.0

What each source reports

GitHub AdvisoriesNo score

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

Record
GHSA-5j8w-r7g8-5472
Weakness
CWE-415
Updated
2026-11-02
OSVNo score

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

Record
GHSA-5j8w-r7g8-5472
Weakness
CWE-415
Updated
2026-11-02
OSVRUSTSEC-2022-0012No score

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

Record
RUSTSEC-2022-0012
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open