arrow2
Affected
- introduced
0, fixed0.7.1(semver)
Fixed versions
0.7.1
Fix
- Fixed version
0.7.1cargo update -p arrow2 --precise 0.7.1
Advisory
Also known as: RUSTSEC-2022-0012
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:
v0.7,v0.8,v0.9), or<0.7).Doing so elimitates this vulnerability (code no longer compiles).
High Basis: The source's own band: HIGH
0, fixed 0.7.1 (semver)0.7.1
0.7.1cargo update -p arrow2 --precise 0.7.10.8.0, fixed 0.8.2 (semver)0.8.2
0.8.2cargo update -p arrow2 --precise 0.8.20.9.0, fixed 0.9.2 (semver)0.9.2
0.9.2cargo update -p arrow2 --precise 0.9.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0