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 kraken

Dependencies

(37 total, 11 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 actix-web~44.13.0up to date
 actix-toolbox~0.130.13.1up to date
 actix-files~0.60.6.10up to date
 webauthn-rs~0.50.5.4up to date
 utoipa~45.4.0out of date
 utoipa-swagger-ui~79.0.2out of date
 argon2~0.50.5.3up to date
 sha2~0.100.10.9up to date
 clap~44.5.60up to date
 rpassword~77.4.0up to date
 log~0.40.4.29up to date
 env_logger~0.110.11.9up to date
 serde~11.0.228up to date
 serde_repr~0.10.1.20up to date
 toml~0.81.0.6+spec-1.1.0out of date
 serde_json~11.0.149up to date
 serde_urlencoded~0.70.7.1up to date
 chrono>=0.4.200.4.44up to date
 bytes ⚠️~11.11.1maybe insecure
 bytestring~11.5.0up to date
 base64~0.220.22.1up to date
 ipnet~22.12.0up to date
 uuid~11.22.0up to date
 tokio>=1.23.11.50.0up to date
 futures~0.30.3.32up to date
 rand~0.80.10.0out of date
 tonic ⚠️~0.120.14.5out of date
 prost~0.130.14.3out of date
 prost-types~0.130.14.3out of date
 thiserror~22.0.18up to date
 rorm~0.60.9.7out of date
 ipnetwork~0.200.21.1out of date
 dehashed-rs~0.50.6.0out of date
 rcgen~0.130.14.7out of date
 url~22.5.8up to date
 image~0.250.25.9up to date
 rust-embed ⚠️*8.11.0maybe insecure

Crate kraken-proto

Dependencies

(5 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 ipnetwork^0.200.21.1out of date
 thiserror^22.0.18up to date
 tonic ⚠️~0.120.14.5out of date
 prost~0.130.14.3out of date
 prost-types~0.130.14.3out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 tonic-build~0.120.14.5out of date

Crate kraken-sdk

Dependencies

(12 total, 4 outdated)

CrateRequiredLatestStatus
 tokio>=1.23.11.50.0up to date
 futures~0.30.3.32up to date
 tokio-tungstenite~0.260.28.0out of date
 tungstenite~0.260.28.0out of date
 tokio-native-tls~0.30.3.1up to date
 reqwest~0.120.13.2out of date
 serde~11.0.228up to date
 serde_json~11.0.149up to date
 uuid~11.22.0up to date
 ipnetwork~0.200.21.1out of date
 thiserror~22.0.18up to date
 log~0.40.4.29up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 tokio>=1.23.11.50.0up to date
 env_logger~0.110.11.9up to date

Crate leech

Dependencies

(36 total, 16 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 clap~44.5.60up to date
 regex>=1.5.51.12.3up to date
 ipnetwork~0.200.21.1out of date
 log~0.40.4.29up to date
 env_logger~0.110.11.9up to date
 uuid~11.22.0up to date
 byte-unit~55.2.0up to date
 tokio>=1.23.11.50.0up to date
 futures~0.30.3.32up to date
 tokio-stream~0.10.1.18up to date
 itertools~0.140.14.0up to date
 tonic ⚠️~0.120.14.5out of date
 prost~0.130.14.3out of date
 prost-types~0.130.14.3out of date
 serde~11.0.228up to date
 toml~0.81.0.6+spec-1.1.0out of date
 serde_json~11.0.149up to date
 chrono>=0.4.200.4.44up to date
 url~22.5.8up to date
 once_cell~11.21.3up to date
 rand~0.90.10.0out of date
 thiserror~22.0.18up to date
 rorm~0.60.9.7out of date
 hickory-resolver~0.240.25.2out of date
 surge-ping~0.80.8.4up to date
 rlimit~0.100.11.0out of date
 reqwest~0.120.13.2out of date
 dehashed-rs~0.50.6.0out of date
 native-tls~0.20.2.18up to date
 tokio-native-tls~0.30.3.1up to date
 socket2~0.50.6.3out of date
 etherparse~0.170.19.0out of date
 nix~0.290.31.2out of date
 strum~0.270.28.0out of date
 strum_macros~0.270.28.0out of date
 tempfile~33.26.0up to date

Crate probe-config

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 thiserror~12.0.18out of date
 serde~11.0.228up to date
 serde_yaml~0.90.9.34+deprecatedup to date
 base64~0.220.22.1up to date
 hex~0.40.4.3up to date

Crate ssl-errors

Dependencies

(7 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 thiserror~22.0.18up to date
 log~0.40.4.29up to date
 reqwest=0.12.120.13.2out of date
 hyper-util=0.1.100.1.20out of date
 native-tls~0.20.2.18up to date
 openssl ⚠️~0.100.10.75maybe insecure
 tokio>=1.23.11.50.0up to date

Security Vulnerabilities

rust-embed: RustEmbed generated `get` method allows for directory traversal when reading files from disk

RUSTSEC-2021-0126

When running in debug mode and the debug-embed (off by default) feature is not enabled, the generated get method does not check that the input path is a child of the folder given.

This allows attackers to read arbitrary files in the file system if they have control over the filename given. The following code will print the contents of your /etc/passwd if adjusted with a correct number of ../s depending on where it is run from.

#[derive(rust_embed::RustEmbed)]
#[folder = "src/"]
pub struct Asset;

fn main() {
    let d = Asset::get("../../../etc/passwd").unwrap().data;
    println!("{}", String::from_utf8_lossy(&d));
}

The flaw was corrected by canonicalizing the input filename and ensuring that it starts with the canonicalized folder path.

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.

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.