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

Crate cargo-bpf

Dependencies

(13 total, 7 outdated, 1 insecure)

CrateRequiredLatestStatus
 bindgen^0.51.10.73.2out of date
 clap^2.334.6.7out of date
 futures^0.30.3.34up to date
 hexdump^0.10.1.3up to date
 libc^0.2.660.2.190up to date
 llvm-sys^90231.0.1out of date
 proc-macro2^1.01.0.107up to date
 quote^1.01.0.47up to date
 redbpf^0.9.132.3.0out of date
 syn^1.03.0.7out of date
 tempfile^3.13.27.0up to date
 tokio ⚠️^0.2.41.53.2insecure
 toml_edit^0.1.50.25.17+spec-1.1.0out 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.