`BinaryArray` does not perform bound checks on reading values and offsetsGHSA-r7cj-wmwv-hfw5
GHSA-r7cj-wmwv-hfw5 is a security vulnerability in arrow. A fix is available for arrow — see the affected versions and patch details below.
Real-World Exposure
arrowReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
BinaryArray performs insufficient validation on creation, which allows out-of-bounds reads in safe code.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | arrow | all versions | 6.4.0cargo update -p arrow --precise 6.4.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for arrow, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update arrow to 6.4.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-r7cj-wmwv-hfw5 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Frequently Asked Questions
Is GHSA-r7cj-wmwv-hfw5 in your dependencies?
Find it across crates.io, including transitive dependencies.