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 async-nats

Dependencies

(26 total, 10 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 base64^0.210.22.1out of date
 bytes^1.4.01.10.1up to date
 futures^0.3.280.3.31up to date
 http^0.2.91.3.1out of date
 memchr^2.42.7.5up to date
 nkeys^0.3.10.4.5out of date
 nuid^0.50.5.0up to date
 once_cell^1.18.01.21.3up to date
 rand^0.80.9.1out of date
 regex^1.9.11.11.1up to date
 ring ⚠️^0.170.17.14maybe insecure
 rustls ⚠️^0.21.60.23.29out of date
 rustls-native-certs^0.60.8.1out of date
 rustls-pemfile^1.0.22.2.0out of date
 serde^1.0.1841.0.219up to date
 serde_json^1.0.1041.0.140up to date
 serde_nanos^0.1.30.1.4up to date
 serde_repr^0.1.160.1.20up to date
 thiserror^1.02.0.12out of date
 time^0.3.240.3.41up to date
 tokio^1.29.01.46.1up to date
 tokio-retry^0.30.3.0up to date
 tokio-rustls^0.240.26.2out of date
 tracing^0.10.1.41up to date
 url^22.5.4up to date
 rustls-webpki ⚠️^0.101.20.103.4out of date

Dev dependencies

(7 total, 4 outdated)

CrateRequiredLatestStatus
 criterion^0.50.6.0out of date
 futures^0.3.280.3.31up to date
 jsonschema^0.17.10.30.0out of date
 rand^0.80.9.1out of date
 reqwest^0.11.180.12.22out of date
 tokio^1.25.01.46.1up to date
 tracing-subscriber^0.30.3.19up to date

Security Vulnerabilities

rustls-webpki: rustls-webpki: CPU denial of service in certificate path building

RUSTSEC-2023-0053

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

We now give each path building operation a budget of 100 signature verifications.

The original webpki crate is also affected.

This was previously reported in the original crate https://github.com/briansmith/webpki/issues/69 and re-reported to us recently by Luke Malinowski.

rustls: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

RUSTSEC-2024-0336

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.