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

Crate clickhouse-rs

Dependencies

(16 total, 4 outdated, 1 insecure)

CrateRequiredLatestStatus
 byteorder^1.31.5.0up to date
 chrono^0.40.4.45up to date
 chrono-tz^0.50.10.4out of date
 clickhouse-rs-cityhash-sys^0.1.10.1.2up to date
 failure^0.1.50.1.8up to date
 failure_derive^0.1.50.1.8up to date
 futures-core-preview=0.3.0-alpha.180.2.3up to date
 futures-sink-preview=0.3.0-alpha.180.2.2up to date
 futures-util-preview=0.3.0-alpha.180.2.2up to date
 hostname^0.10.4.2out of date
 lazy_static^1.4.01.5.1up to date
 log^0.4.80.4.35up to date
 lz4^1.23.11.28.1up to date
 pin-project^0.4.0-alpha.111.2.0out of date
 tokio ⚠️^0.2.0-alpha.41.54.1insecure
 url^22.5.9up to date

Dev dependencies

(2 total, 2 outdated)

CrateRequiredLatestStatus
 env_logger^0.60.11.12out of date
 rand^0.70.10.4out of 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.