This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate tokio-tungstenite

Dependencies

(7 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 futures-util^0.30.3.17up to date
 log^0.40.4.14up to date
 native-tls^0.2.00.2.8up to date
 pin-project^1.01.0.8up to date
 tokio ⚠️^1.0.01.12.0maybe insecure
 tokio-native-tls^0.3.00.3.0up to date
 tungstenite^0.12.00.15.0out of date

Dev dependencies

(4 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 env_logger^0.70.9.0out of date
 futures-channel^0.30.3.17up to date
 tokio ⚠️^1.0.01.12.0maybe insecure
 url^2.0.02.2.2up to date

Security Vulnerabilities

tokio: Task dropped in wrong thread when aborting `LocalSet` task

RUSTSEC-2021-0072

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.

See tokio#3929 for more details.