GHSA-wv8j-m3hx-924j: Arrow2 Arrow2 Allows Out Of Bounds Vulnerability

HIGH
CWE-119
Published
Advisory Summary

GHSA-wv8j-m3hx-924j is a HIGH arrow2 allows out of bounds vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Arrow2 libraries in the crates.io ecosystem. The issue involves arrow2 allows out of bounds access in public safe api. Remediation is available in the latest vendor maintenance releases.

GHSA-wv8j-m3hx-924j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wv8j-m3hx-924j
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Arrow2
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-wv8j-m3hx-924j

To remediate this vulnerability, upgrade all affected Arrow2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

arrow2 fixed: Latest secure release
Upgrade arrow2 to Latest secure release
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 arrow2

How to Check if You Are Affected

To determine whether your application is affected by GHSA-wv8j-m3hx-924j, inspect your project dependencies for Arrow2:

inspect dependencies for arrow2

Analyze the terminal output to locate any version of Arrow2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Arrow2, 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

`Rows::row_unchecked()` allows out of bounds access to the underlying buffer without sufficient checks. The arrow2 crate is no longer maintained, so there are no plans to fix this issue. Users are advised to migrate to the arrow crate, instead.

GHSA-wv8j-m3hx-924j Affected Arrow2 Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
arrow2
crates.io
≤ 0.18.0

References

Frequently Asked Questions

What is GHSA-wv8j-m3hx-924j?
GHSA-wv8j-m3hx-924j is a security vulnerability in Arrow2 involving Arrow2 allows out of bounds access in public safe API under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Arrow2 versions are affected?
Affected versions include releases prior to current release patches across affected packages: arrow2.
What version fixes GHSA-wv8j-m3hx-924j?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is arrow2 affected?
Yes, arrow2 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-wv8j-m3hx-924j?
GHSA-wv8j-m3hx-924j is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check crates.io dependencies for GHSA-wv8j-m3hx-924j?
Run the dependency tree command: 'inspect dependencies for arrow2'. 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-wv8j-m3hx-924j",
  "modified" : "2025-05-30T20:09:56Z",
  "published" : "2025-05-30T20:09:56Z",
  "aliases" : [ ],
  "summary" : "Arrow2 allows out of bounds access in public safe API",
  "details" : "`Rows::row_unchecked()` allows out of bounds access to the underlying buffer without sufficient checks.\n\nThe arrow2 crate is no longer maintained, so there are no plans to fix this issue. Users are advised to migrate to the arrow crate, instead.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "arrow2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.18.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "PACKAGE",
    "url" : "https://github.com/jorgecarleitao/arrow2"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2025-0038.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-30T20:09:56Z",
    "nvd_published_at" : null
  }
}