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

Crate interfacer-http

Dependencies

(17 total, 9 outdated, 1 insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.92up to date
 cookie^0.120.18.2out of date
 derive_more^0.152.1.1out of date
 http^0.11.5.0out of date
 interfacer-http-attribute^0.20.2.1up to date
 encoding^0.20.2.33up to date
 mime^0.30.3.17up to date
 rmp-serde^0.131.3.1out of date
 serde^1.01.0.229up to date
 serde-xml-rs^0.30.8.2out of date
 serde_derive^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 serde_urlencoded^0.60.7.1out of date
 tokio ⚠️^0.2.0-alpha.41.54.1insecure
 unhtml^0.70.8.0out of date
 unhtml_derive^0.70.8.0out of date
 url^22.5.8up 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.