Tokio: Race condition in `tokio::time::Interval`
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| tokio-rstokio | — | 記載なし |
| rusttokio |
1.54.1 未満→ 1.54.1 |
1.54.1 |
| crates.iotokio |
1.54.0 以上 1.54.1 未満→ 1.54.1 |
1.54.1 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Tokio is a runtime for writing applications with Rust. In 1.54.0, a race condition between tokio::time::Interval::poll_tick (including .tick().await) and the multi-threaded runtime's time driver could drop an internal timer entry without synchronizing with the driver thread that was firing it. The race caused a use-after-free on the timer's waker and task state in safe Rust, which could produce assertion panics, task reference-count corruption, or heap memory corruption. This issue is fixed in 1.54.1.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory rustsec.org
- advisory github.com
- package github.com
- package crates.io
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com