This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate arrow

Dependencies

(23 total, 12 outdated, 2 insecure)

CrateRequiredLatestStatus
 ahash^0.70.8.12out of date
 bitflags^1.2.12.13.2out of date
 chrono^0.40.4.45up to date
 chrono-tz^0.60.10.4out of date
 comfy-table^6.08.0.1out of date
 csv^1.11.4.0up to date
 flatbuffers ⚠️^2.1.225.12.19insecure
 half^2.02.7.1up to date
 hashbrown^0.120.17.1out of date
 hex^0.40.4.3up to date
 indexmap^1.92.14.2out of date
 lazy_static^1.41.5.0up to date
 lexical-core^0.81.0.6out of date
 multiversion^0.6.10.9.0out of date
 num^0.40.4.3up to date
 packed_simd_2^0.30.3.8up to date
 pyo3 ⚠️^0.160.29.2insecure
 rand^0.80.10.3out of date
 regex^1.5.61.13.1up to date
 regex-syntax^0.6.270.8.11out of date
 serde^1.01.0.229up to date
 serde_derive^1.01.0.229up to date
 serde_json^1.01.0.151up to date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 criterion^0.30.8.2out of date
 flate2^11.1.10up to date
 rand^0.80.10.3out of date
 tempfile^33.27.0up to date

Security Vulnerabilities

flatbuffers: Generated code can read and write out of bounds in safe code

RUSTSEC-2021-0122

Code generated by flatbuffers' compiler is unsafe but not marked as such. See https://github.com/google/flatbuffers/issues/6627 for details.

For example, if generated code is used to decode malformed or untrusted input, undefined behavior (and thus security vulnerabilities) is possible even without the use of the unsafe keyword, violating the the meaning of "safe" code;

All users that use generated code by flatbuffers compiler are recommended to:

  1. not expose flatbuffer generated code as part of their public APIs
  2. audit their code and look for any usage of follow, push, or any method that uses them (e.g. self_follow).
  3. Carefully go through the crates' documentation to understand which "safe" APIs are not intended to be used.

pyo3: Risk of buffer overflow in `PyString::from_object`

RUSTSEC-2025-0020

PyString::from_object took &str arguments and forwarded them directly to the Python C API without checking for terminating nul bytes. This could lead the Python interpreter to read beyond the end of the &str data and potentially leak contents of the out-of-bounds read (by raising a Python exception containing a copy of the data including the overflow).

In PyO3 0.24.1 this function will now allocate a CString to guarantee a terminating nul bytes. PyO3 0.25 will likely offer an alternative API which takes &CStr arguments.

pyo3: Missing `Sync` bound on `PyCFunction::new_closure` closures

RUSTSEC-2026-0177

PyCFunction::new_closure (and the temporary new_closure_bound complement in the 0.21–0.22 series) required the supplied closure to be Send + 'static but not Sync. The resulting PyCFunction is a Python callable that can be invoked from any Python thread, which means the closure may be called concurrently from multiple threads, and needs a Sync bound to prevent possible data races.

The problem exists under all Python versions but is particularly vulnerable under the newer free-threaded Python variant, which do not have serial execution imposed by the Global Interpreter Lock. Under releases protected by the GIL, the ability to "detach" from the Python interpreter temporarily inside the closure (e.g. by Python::detach) makes it possible for interleaved and/or concurrent execution of various portions of the closure.

PyO3 0.29.0 added a Sync bound to close this thread-safety bug.