GHSA-r7cj-wmwv-hfw5: Arrow `BinaryArray` Does Not Perform Bound Vulnerability
HIGHGHSA-r7cj-wmwv-hfw5 is a HIGH `binaryarray` does not perform bound vulnerability (General Security Weakness) affecting Arrow libraries in the crates.io ecosystem. The issue involves `binaryarray` does not perform bound checks on reading values and offsets. Remediation is available by upgrading affected packages to version 6.4.0.
GHSA-r7cj-wmwv-hfw5 at a Glance
How to Fix GHSA-r7cj-wmwv-hfw5
To remediate this vulnerability, upgrade all affected Arrow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade arrow to 6.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for arrow
How to Check if You Are Affected
To determine whether your application is affected by GHSA-r7cj-wmwv-hfw5, inspect your project dependencies for Arrow:
inspect dependencies for arrow
Analyze the terminal output to locate any version of Arrow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Arrow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-r7cj-wmwv-hfw5 Affected Arrow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
arrow
|
crates.io |
< 6.4.0
|
6.4.0
|
References
Frequently Asked Questions
What is GHSA-r7cj-wmwv-hfw5?
Which Arrow versions are affected?
What version fixes GHSA-r7cj-wmwv-hfw5?
Is arrow affected?
What CWE is associated with GHSA-r7cj-wmwv-hfw5?
How can I check crates.io dependencies for GHSA-r7cj-wmwv-hfw5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r7cj-wmwv-hfw5",
"modified" : "2022-06-16T23:40:50Z",
"published" : "2022-06-16T23:40:50Z",
"aliases" : [ ],
"summary" : "`BinaryArray` does not perform bound checks on reading values and offsets",
"details" : "`BinaryArray` performs insufficient validation on creation, which allows out-of-bounds reads in safe code.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "arrow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://github.com/apache/arrow-rs"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/arrow-rs/blob/6.4.0/CHANGELOG.md#640-2021-12-10"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2021-0116.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-16T23:40:50Z",
"nvd_published_at" : null
}
}