Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-2grh-hm3w-w7hv

Опубликовано: 25 авг. 2021
Источник: github
Github: Прошло ревью
CVSS3: 5.9

Описание

Race condition in tokio

When aborting a task with JoinHandle::abort, the future is dropped in the thread calling abort if the task is not currently being executed. This is incorrect for tasks spawned on a LocalSet. This can easily result in race conditions as many projects use Rc or RefCell in their Tokio tasks for better performance.

Пакеты

Наименование

tokio

rust
Затронутые версииВерсия исправления

>= 1.8.0, < 1.8.1

1.8.1

Наименование

tokio

rust
Затронутые версииВерсия исправления

>= 1.7.0, < 1.7.2

1.7.2

Наименование

tokio

rust
Затронутые версииВерсия исправления

>= 1.6.0, < 1.6.3

1.6.3

Наименование

tokio

rust
Затронутые версииВерсия исправления

>= 0.3.0, < 1.5.1

1.5.1

EPSS

Процентиль: 47%
0.00237
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-362
CWE-366

Связанные уязвимости

CVSS3: 5.9
ubuntu
больше 4 лет назад

An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon a JoinHandle::abort, a Task may be dropped in the wrong thread.

CVSS3: 5.9
nvd
больше 4 лет назад

An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon a JoinHandle::abort, a Task may be dropped in the wrong thread.

msrc
5 месяцев назад

An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon a JoinHandle::abort, a Task may be dropped in the wrong thread.

CVSS3: 5.9
debian
больше 4 лет назад

An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon ...

EPSS

Процентиль: 47%
0.00237
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-362
CWE-366