GHSA-h588-76vg-prgj: Arrow `DecimalArray` Does Not Perform Bound Vulnerability

HIGH
Published
Advisory Summary

GHSA-h588-76vg-prgj is a HIGH `decimalarray` does not perform bound vulnerability (General Security Weakness) affecting Arrow libraries in the crates.io ecosystem. The issue involves `decimalarray` does not perform bound checks on accessing values and offsets. Remediation is available by upgrading affected packages to version 6.4.0.

GHSA-h588-76vg-prgj at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-h588-76vg-prgj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Arrow
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-h588-76vg-prgj

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.

arrow fixed: 6.4.0
Upgrade arrow to 6.4.0
Verify Direct and Transitive Dependencies

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-h588-76vg-prgj, 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

`DecimalArray` performs insufficient bounds checks, which allows out-of-bounds reads in safe code if the lenght of the backing buffer is not a multiple of 16.

GHSA-h588-76vg-prgj Affected Arrow Versions

1 component(s)
Fixed Versions:
6.4.0
Product / Package Ecosystem Affected Versions Fixed Version
arrow
crates.io
< 6.4.0
6.4.0

References

Frequently Asked Questions

What is GHSA-h588-76vg-prgj?
GHSA-h588-76vg-prgj is a security vulnerability in Arrow involving `DecimalArray` does not perform bound checks on accessing values and offsets under General Security Weakness.
Which Arrow versions are affected?
Affected versions include releases prior to 6.4.0 across affected packages: arrow.
What version fixes GHSA-h588-76vg-prgj?
Upgrading to 6.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is arrow affected?
Yes, arrow is affected in releases prior to 6.4.0. Upgrade your dependency to 6.4.0 or later.
What CWE is associated with GHSA-h588-76vg-prgj?
GHSA-h588-76vg-prgj is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-h588-76vg-prgj?
Run the dependency tree command: 'inspect dependencies for arrow'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h588-76vg-prgj",
  "modified" : "2023-02-09T14:20:32Z",
  "published" : "2022-06-16T23:41:29Z",
  "aliases" : [ ],
  "summary" : "`DecimalArray` does not perform bound checks on accessing values and offsets",
  "details" : "`DecimalArray` performs insufficient bounds checks, which allows out-of-bounds reads in safe code if the lenght of the backing buffer is not a multiple of 16.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "arrow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apache/arrow-rs/issues/775"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/arrow-rs"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2021-0117.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-06-16T23:41:29Z",
    "nvd_published_at" : null
  }
}