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

Crate arrow

Dependencies

(13 total, 4 outdated, 1 insecure)

CrateRequiredLatestStatus
 chrono^0.40.4.45up to date
 csv^1.01.4.0up to date
 flatbuffers ⚠️^0.5.025.12.19insecure
 indexmap^1.02.14.2out of date
 lazy_static^1.21.5.0up to date
 libc^0.20.2.189up to date
 num^0.20.4.3out of date
 packed_simd^0.3.10.3.9up to date
 rand^0.60.10.3out of date
 regex^1.11.13.1up to date
 serde^1.0.801.0.229up to date
 serde_derive^1.0.801.0.229up to date
 serde_json^1.0.131.0.151up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 criterion^0.20.8.2out of date
 lazy_static^11.5.0up to date

Security Vulnerabilities

flatbuffers: Unsound `impl Follow for bool`

RUSTSEC-2019-0028

The implementation of impl Follow for bool allows to reinterpret arbitrary bytes as a bool.

In Rust bool has stringent requirements for its in-memory representation. Use of this function allows to violate these requirements and invoke undefined behaviour in safe code.

flatbuffers: `read_scalar` and `read_scalar_at` allow transmuting values without `unsafe` blocks

RUSTSEC-2020-0009

The read_scalar and read_scalar_at functions are unsound because they allow transmuting values without unsafe blocks.

The following example shows how to create a dangling reference:

fn main() {
    #[derive(Copy, Clone, PartialEq, Debug)]
    struct S(&'static str);
    impl flatbuffers::EndianScalar for S {
        fn to_little_endian(self) -> Self { self }
        fn from_little_endian(self) -> Self { self }
    }
    println!("{:?}", flatbuffers::read_scalar::<S>(&[1; std::mem::size_of::<S>()]));
}

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.