This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate memo_core

Dependencies

(8 total, 5 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 diffs^0.30.5.1out of date
 lazy_static^1.01.4.0up to date
 flatbuffers ⚠️^0.524.3.25out of date
 futures^0.10.3.30out of date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 smallvec ⚠️^0.6.11.13.2out of date
 uuid^0.71.8.0out of date

Dev dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 futures-cpupool^0.10.1.8up to date
 rand^0.30.8.5out of date
 uuid^0.71.8.0out of date

Crate memo_js

Dependencies

(9 total, 3 outdated)

CrateRequiredLatestStatus
 bincode^1.01.3.3up to date
 console_error_panic_hook^0.10.1.7up to date
 futures^0.10.3.30out of date
 hex^0.30.4.3out of date
 js-sys^0.30.3.69up to date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 wasm-bindgen-futures^0.30.4.42out of date
 wasm-bindgen^0.2.330.2.92up to date

Crate xray_core

Dependencies

(10 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bincode^1.01.3.3up to date
 bytes^0.41.6.0out of date
 futures^0.10.3.30out of date
 lazy_static^1.01.4.0up to date
 parking_lot^0.50.12.1out of date
 seahash^3.04.1.0out of date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 smallvec ⚠️^0.6.01.13.2out of date

Dev dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 rand^0.30.8.5out of date
 futures-cpupool^0.10.1.8up to date
 tokio-core^0.10.1.18up to date
 tokio-timer^0.20.2.13up to date
 criterion^0.20.5.1out of date

Crate xray_server

Dependencies

(12 total, 6 outdated)

CrateRequiredLatestStatus
 bytes^0.41.6.0out of date
 futures^0.10.3.30out of date
 futures-cpupool^0.10.1.8up to date
 parking_lot^0.50.12.1out of date
 rand^0.40.8.5out of date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 tokio-io^0.10.1.13up to date
 tokio-core^0.10.1.18up to date
 tokio-process^0.10.2.5out of date
 tokio-uds^0.10.2.7out of date

Crate xray_cli

Dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 docopt^0.81.1.1out of date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 serde_json^1.01.0.116up to date

Crate xray_wasm

Dependencies

(6 total, 2 outdated)

CrateRequiredLatestStatus
 bytes^0.41.6.0out of date
 futures^0.10.3.30out of date
 serde^1.01.0.198up to date
 serde_derive^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 wasm-bindgen^0.20.2.92up 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>()]));
}

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

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.