Tokio: Race condition in `tokio::time::Interval`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| tokio-rs | tokio | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tokio | Tokio |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5wjr-9356-4wc8 | Tokio: Race condition in `tokio::time::Interval` |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.111% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tokio
Tokio tokio |
|
| Vendors & Products |
Tokio
Tokio tokio |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Tokio: Race condition in `tokio::time::Interval` | |
| Weaknesses | CWE-362 | |
| References |
|
|
| Metrics |
cvssV4_0
|