Files
advisory-db/crates
Eliza Weisman 5f68bbad79 Add advisory for tokio-rs/tokio#4225 (#1106)
* Add advisory for tokio-rs/tokio#4225

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 `await`ed 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][corruption].

Note that the race only occurs when **both** halves of the channel are used
after one half has called `close`. Code where `close` is not used, or where the
`Receiver` is not `await`ed and `try_recv` is not called after calling `close`,
is not affected.

See tokio-rs/tokio#4225 for more details.

This issue was patched in v1.13.1. The patch was backported to the current
LTS version (v1.8.x) in release v1.8.4.

* Update crates/tokio/RUSTSEC-0000-0000.md

Co-authored-by: Tony Arcieri <bascule@gmail.com>

* fix toml lint

whoops

* Update crates/tokio/RUSTSEC-0000-0000.md

* Update crates/tokio/RUSTSEC-0000-0000.md

Co-authored-by: Tony Arcieri <bascule@gmail.com>
2021-11-17 00:02:09 +01:00
..
2021-08-21 19:18:11 -06:00
2021-11-06 21:37:35 +01:00
2021-02-25 20:00:25 -05:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2021-11-06 21:37:35 +01:00
2021-06-30 00:08:30 +02:00
2021-06-30 00:08:30 +02:00
2021-05-11 18:59:58 -07:00
2021-03-19 14:21:58 -07:00
2021-04-13 14:10:09 -07:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2020-10-25 12:51:46 -07:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2021-01-04 09:02:59 -08:00
2021-01-04 09:02:59 -08:00
2021-01-04 09:02:59 -08:00
2021-10-19 16:14:35 -06:00
2021-03-19 14:21:58 -07:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00
2021-10-19 16:14:35 -06:00