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 domain

Dependencies

(22 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 arc-swap^1.7.01.7.1up to date
 bytes^1.01.10.1up to date
 chrono^0.4.350.4.41up to date
 futures-util^0.30.3.31up to date
 heapless^0.80.8.0up to date
 libc^0.2.1530.2.172up to date
 moka^0.12.30.12.10up to date
 octseq^0.5.20.5.2up to date
 parking_lot^0.120.12.3up to date
 proc-macro2^1.0.691.0.95up to date
 rand^0.80.9.1out of date
 ring ⚠️^0.170.17.14maybe insecure
 rustversion^11.0.20up to date
 serde^1.0.1301.0.219up to date
 siphasher^11.0.1up to date
 smallvec ⚠️^1.31.15.0maybe insecure
 time^0.3.10.3.41up to date
 tokio^1.331.45.0up to date
 tokio-rustls^0.260.26.2up to date
 tokio-stream^0.1.10.1.17up to date
 tracing^0.1.400.1.41up to date
 tracing-subscriber^0.3.180.3.19up to date

Dev dependencies

(13 total, 3 outdated)

CrateRequiredLatestStatus
 lazy_static^1.4.01.5.0up to date
 mock_instant^0.5.10.5.3up to date
 rstest^0.19.00.25.0out of date
 rustls-pemfile^2.1.22.2.0up to date
 serde_json^1.0.1131.0.140up to date
 serde_test^1.0.1301.0.177up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 socket2^0.5.50.5.9up to date
 tokio^1.371.45.0up to date
 tokio-rustls^0.260.26.2up to date
 tokio-test^0.40.4.4up to date
 tokio-tfo^0.2.00.3.3out of date
 webpki-roots^0.261.0.0out of date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

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.