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

Crate lo_migrate

Dependencies

(19 total, 11 outdated, 2 insecure)

CrateRequiredLatestStatus
 clap^2.334.6.7out of date
 chrono^0.40.4.45up to date
 derive-error^0.00.0.5up to date
 digest^0.80.11.3out of date
 fallible-iterator^0.10.3.0out of date
 sha-1^0.80.10.1out of date
 sha2^0.80.11.1out of date
 postgres^0.150.19.14out of date
 postgres_large_object^0.70.7.1up to date
 rusoto_core^0.430.48.0out of date
 rusoto_credential^0.430.48.0out of date
 rusoto_s3^0.430.48.0out of date
 rustc-serialize ⚠️^0.30.3.25insecure
 two-lock-queue^0.10.1.1up to date
 mkstemp-rs^1.01.0.0up to date
 log^0.40.4.34up to date
 env_logger^0.70.11.11out of date
 tokio ⚠️^0.21.53.3insecure
 futures^0.30.3.34up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 rand^0.70.10.3out of date
 regex^1.31.13.1up to date

Security Vulnerabilities

tokio: Data race when sending and receiving after closing a `oneshot` channel

RUSTSEC-2021-0124

If a tokio::sync::oneshot channel is closed (via the oneshot::Receiver::close method), a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling try_recv.

When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.

Note that the race only occurs when both halves of the channel are used after the Receiver half has called close. Code where close is not used, or where the Receiver is not awaited and try_recv is not called after calling close, is not affected.

See tokio#4225 for more details.

rustc-serialize: Stack overflow in rustc_serialize when parsing deeply nested JSON

RUSTSEC-2022-0004

When parsing JSON using json::Json::from_str, there is no limit to the depth of the stack, therefore deeply nested objects can cause a stack overflow, which aborts the process.

Example code that triggers the vulnerability is

fn main() {
    let _ = rustc_serialize::json::Json::from_str(&"[0,[".repeat(10000));
}

serde is recommended as a replacement to rustc_serialize.