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 karlsen-miner

Dependencies

(31 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 lazy_static^1.4.01.5.0up to date
 tiny-keccak^2.0.22.0.2up to date
 blake3^1.5.01.8.2up to date
 tonic ⚠️^0.120.14.2out of date
 tokio^1.28.01.48.0up to date
 prost^0.13.50.14.1out of date
 futures-util^0.30.3.31up to date
 tokio-stream^0.10.1.17up to date
 once_cell^11.21.3up to date
 num_cpus^11.17.0up to date
 rand^0.90.9.2up to date
 blake2b_simd^1.0.01.0.3up to date
 clap^3.04.5.53out of date
 log^0.40.4.29up to date
 env_logger^0.110.11.8up to date
 parking_lot^0.120.12.5up to date
 shuttle^0.80.8.1up to date
 libloading^0.8.60.9.0out of date
 tokio-util^0.7.00.7.17up to date
 serde_json^1.01.0.145up to date
 serde_repr^0.10.1.20up to date
 serde^1.01.0.228up to date
 futures^0.3.210.3.31up to date
 bytes^1.1.01.11.0up to date
 async-trait^0.10.1.89up to date
 num^0.40.4.3up to date
 nix^0.250.30.1out of date
 hex^0.40.4.3up to date
 time^0.30.3.44up to date
 kernel32-sys^0.20.2.2up to date
 win32console^0.10.1.5up to date

Build dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 tonic-build^0.80.14.2out of date
 cc^11.2.49up to date
 time^0.30.3.44up to date

Security Vulnerabilities

tonic: Remotely exploitable Denial of Service in Tonic

RUSTSEC-2024-0376

Impact

When using tonic::transport::Server there is a remote DoS attack that can cause the server to exit cleanly on accepting a tcp/tls stream. This can be triggered via causing the accept call to error out with errors there were not covered correctly causing the accept loop to exit.

More information can be found here

Patches

Upgrading to tonic 0.12.3 and above contains the fix.

Workarounds

A custom accept loop is a possible workaround.