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 redis

Dependencies

(21 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arc-swap^0.4.41.7.1out of date
 async-native-tls^0.30.5.0out of date
 async-std^1.5.01.12.0up to date
 async-trait^0.1.240.1.80up to date
 bytes^0.51.6.0out of date
 combine^4.44.6.7up to date
 crc16^0.4.00.4.0up to date
 dtoa^0.41.0.9out of date
 futures^0.3.30.3.30up to date
 futures-util^0.3.00.3.30up to date
 itoa^0.4.31.0.11out of date
 native-tls^0.20.2.11up to date
 percent-encoding^2.12.3.1up to date
 pin-project-lite^0.10.2.14out of date
 r2d2^0.8.80.8.10up to date
 rand^0.7.00.8.5out of date
 sha1>=0.2, <0.70.10.6out of date
 tokio ⚠️^0.3.41.37.0out of date
 tokio-native-tls^0.20.3.1out of date
 tokio-util^0.40.7.10out of date
 url^2.12.5.0up to date

Dev dependencies

(10 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 assert_approx_eq^1.01.1.0up to date
 criterion^0.30.5.1out of date
 fnv^1.0.51.0.7up to date
 futures^0.30.3.30up to date
 net2^0.20.2.39up to date
 partial-io^0.30.5.4out of date
 quickcheck^0.61.0.3out of date
 rand^0.70.8.5out of date
 tempdir^0.30.3.7up to date
 tokio ⚠️^0.31.37.0out of date

Security Vulnerabilities

tokio: Task dropped in wrong thread when aborting `LocalSet` task

RUSTSEC-2021-0072

When aborting a task with JoinHandle::abort, the future is dropped in the thread calling abort if the task is not currently being executed. This is incorrect for tasks spawned on a LocalSet.

This can easily result in race conditions as many projects use Rc or RefCell in their Tokio tasks for better performance.

See tokio#3929 for more details.

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.