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

Crate rants

Dependencies

(12 total, 5 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 bytes^0.4.121.6.0out of date
 futures-preview^0.3.0-alpha.190.2.2up to date
 log^0.4.80.4.21up to date
 nom^5.0.17.1.3out of date
 owning_ref ⚠️^0.4.00.4.1insecure
 pin-utils^0.1.0-alpha.40.1.0up to date
 rand^0.7.20.8.5out of date
 serde^1.0.1011.0.198up to date
 serde_json^1.0.401.0.116up to date
 tokio ⚠️^0.2.0-alpha.61.37.0out of date
 tokio-io^0.2.0-alpha.60.1.13up to date
 uuid^0.7.41.8.0out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.6.20.11.3out 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.

owning_ref: Multiple soundness issues in `owning_ref`

RUSTSEC-2022-0040

  • OwningRef::map_with_owner is unsound and may result in a use-after-free.
  • OwningRef::map is unsound and may result in a use-after-free.
  • OwningRefMut::as_owner and OwningRefMut::as_owner_mut are unsound and may result in a use-after-free.
  • The crate violates Rust's aliasing rules, which may cause miscompilations on recent compilers that emit the LLVM noalias attribute.

safer_owning_ref is a replacement crate which fixes these issues. No patched versions of the original crate are available, and the maintainer is unresponsive.