This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate tetsy-libp2p

Dependencies

(8 total, 2 outdated)

CrateRequiredLatestStatus
 atomic^0.5.00.6.1out of date
 bytes^11.12.2up to date
 futures^0.3.10.3.34up to date
 lazy_static^1.21.5.1up to date
 parking_lot^0.11.00.13.0out of date
 pin-project^1.0.01.2.0up to date
 smallvec^1.01.16.6up to date
 wasm-timer^0.2.40.2.5up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 env_logger^0.8.10.11.12out of date
 tokio^1.0.11.54.1up to date

Crate tetsy-libp2p-core

Dependencies

(23 total, 13 outdated, 3 insecure)

CrateRequiredLatestStatus
 asn1_der^0.6.10.7.7out of date
 bs58^0.4.00.5.1out of date
 ed25519-dalek ⚠️^1.0.13.0.0insecure
 either^1.51.19.0up to date
 fnv^1.01.0.7up to date
 futures^0.3.10.3.34up to date
 futures-timer^33.0.4up to date
 lazy_static^1.21.5.1up to date
 libsecp256k1 ⚠️^0.3.10.7.2insecure
 log^0.40.4.35up to date
 multihash^0.130.19.5out of date
 parking_lot^0.11.00.13.0out of date
 pin-project^1.0.01.2.0up to date
 prost^0.70.14.6out of date
 rand^0.70.10.4out of date
 rw-stream-sink^0.2.00.5.0out of date
 sha2^0.9.10.11.3out of date
 smallvec^1.01.16.6up to date
 thiserror^1.02.0.21out of date
 unsigned-varint^0.70.8.0out of date
 void^11.0.2up to date
 zeroize^11.9.2up to date
 ring ⚠️^0.16.90.17.14insecure

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 criterion^0.30.8.2out of date
 multihash^0.130.19.5out of date
 quickcheck^0.9.01.1.0out of date
 wasm-timer^0.20.2.5up to date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-floodsub

Dependencies

(7 total, 2 outdated)

CrateRequiredLatestStatus
 cuckoofilter^0.5.00.5.0up to date
 fnv^1.01.0.7up to date
 futures^0.3.10.3.34up to date
 log^0.40.4.35up to date
 prost^0.70.14.6out of date
 rand^0.70.10.4out of date
 smallvec^1.01.16.6up to date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-gossipsub

Dependencies

(15 total, 6 outdated)

CrateRequiredLatestStatus
 bytes^1.01.12.2up to date
 byteorder^1.3.41.5.1up to date
 fnv^1.0.71.0.7up to date
 futures^0.3.50.3.34up to date
 rand^0.7.30.10.4out of date
 asynchronous-codec^0.60.7.0out of date
 wasm-timer^0.2.40.2.5up to date
 unsigned-varint^0.7.00.8.0out of date
 log^0.4.110.4.35up to date
 sha2^0.9.10.11.3out of date
 base64^0.13.00.23.1out of date
 smallvec^1.4.21.16.6up to date
 prost^0.70.14.6out of date
 hex_fmt^0.3.00.3.0up to date
 regex^1.4.01.13.2up to date

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 async-std^1.6.31.13.2up to date
 env_logger^0.8.10.11.12out of date
 quickcheck^0.9.21.1.0out of date
 hex^0.4.20.4.3up to date
 derive_builder^0.9.00.20.2out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-identify

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 log^0.4.10.4.35up to date
 prost^0.70.14.6out of date
 smallvec^1.01.16.6up to date
 wasm-timer^0.20.2.5up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-kad

Dependencies

(15 total, 7 outdated)

CrateRequiredLatestStatus
 arrayvec^0.5.10.7.9out of date
 bytes^11.12.2up to date
 either^1.51.19.0up to date
 fnv^1.01.0.7up to date
 asynchronous-codec^0.60.7.0out of date
 futures^0.3.10.3.34up to date
 log^0.40.4.35up to date
 prost^0.70.14.6out of date
 rand^0.7.20.10.4out of date
 sha2^0.9.10.11.3out of date
 smallvec^1.01.16.6up to date
 wasm-timer^0.20.2.5up to date
 uint^0.90.10.2out of date
 unsigned-varint^0.70.8.0out of date
 void^1.01.0.2up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 futures-timer^3.03.0.4up to date
 quickcheck^0.9.01.1.0out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-mplex

Dependencies

(9 total, 4 outdated)

CrateRequiredLatestStatus
 bytes^11.12.2up to date
 futures^0.3.10.3.34up to date
 asynchronous-codec^0.60.7.0out of date
 log^0.40.4.35up to date
 nohash^0.20.2.0up to date
 parking_lot^0.110.13.0out of date
 rand^0.70.10.4out of date
 smallvec^1.41.16.6up to date
 unsigned-varint^0.70.8.0out of date

Dev dependencies

(6 total, 4 outdated)

CrateRequiredLatestStatus
 async-std^1.7.01.13.2up to date
 criterion^0.30.8.2out of date
 env_logger^0.80.11.12out of date
 futures^0.30.3.34up to date
 quickcheck^0.91.1.0out of date
 rand^0.70.10.4out of date

Crate tetsy-libp2p-noise

Dependencies

(12 total, 6 outdated, 2 insecure)

CrateRequiredLatestStatus
 bytes^11.12.2up to date
 curve25519-dalek ⚠️^3.0.05.1.0insecure
 futures^0.3.10.3.34up to date
 lazy_static^1.21.5.1up to date
 log^0.40.4.35up to date
 prost^0.70.14.6out of date
 rand^0.7.20.10.4out of date
 sha2^0.9.10.11.3out of date
 static_assertions^11.1.0up to date
 x25519-dalek^1.1.03.0.0out of date
 zeroize^11.9.2up to date
 snow ⚠️^0.7.10.10.3insecure

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 async-io^1.2.02.6.0out of date
 env_logger^0.8.10.11.12out of date
 quickcheck^0.9.01.1.0out of date
 sodiumoxide^0.2.50.2.7up to date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-ping

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 log^0.4.10.4.35up to date
 rand^0.7.20.10.4out of date
 void^1.01.0.2up to date
 wasm-timer^0.20.2.5up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 quickcheck^0.9.01.1.0out of date

Crate plaintext

Dependencies

(7 total, 3 outdated)

CrateRequiredLatestStatus
 bytes^11.12.2up to date
 futures^0.3.10.3.34up to date
 asynchronous-codec^0.60.7.0out of date
 log^0.4.80.4.35up to date
 prost^0.70.14.6out of date
 unsigned-varint^0.70.8.0out of date
 void^1.0.21.0.2up to date

Dev dependencies

(3 total, 3 outdated)

CrateRequiredLatestStatus
 env_logger^0.8.10.11.12out of date
 quickcheck^0.9.01.1.0out of date
 rand^0.70.10.4out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate tetsy-libp2p-pnet

Dependencies

(6 total, 3 outdated)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 log^0.4.80.4.35up to date
 salsa20^0.70.11.0out of date
 sha3^0.90.12.0out of date
 rand^0.70.10.4out of date
 pin-project^1.0.21.2.0up to date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 quickcheck^0.9.01.1.0out of date

Crate tetsy-libp2p-relay

Dependencies

(12 total, 5 outdated)

CrateRequiredLatestStatus
 asynchronous-codec^0.60.7.0out of date
 bytes^11.12.2up to date
 futures^0.3.10.3.34up to date
 futures-timer^33.0.4up to date
 log^0.40.4.35up to date
 pin-project^11.2.0up to date
 prost^0.70.14.6out of date
 rand^0.70.10.4out of date
 smallvec^0.6.91.16.6out of date
 unsigned-varint^0.70.8.0out of date
 void^11.0.2up to date
 wasm-timer^0.20.2.5up to date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.7.10.11.12out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.6out of date

Crate request-response

Dependencies

(10 total, 4 outdated, 1 insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.92up to date
 bytes^11.12.2up to date
 futures^0.3.10.3.34up to date
 log^0.4.110.4.35up to date
 lru ⚠️^0.60.19.2insecure
 minicbor^0.72.3.1out of date
 rand^0.70.10.4out of date
 smallvec^1.41.16.6up to date
 unsigned-varint^0.70.8.0out of date
 wasm-timer^0.20.2.5up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 rand^0.70.10.4out of date

Crate tetsy-libp2p-swarm

Dependencies

(7 total, 1 outdated)

CrateRequiredLatestStatus
 either^1.6.01.19.0up to date
 futures^0.3.10.3.34up to date
 log^0.40.4.35up to date
 rand^0.70.10.4out of date
 smallvec^1.01.16.6up to date
 wasm-timer^0.20.2.5up to date
 void^11.0.2up to date

Dev dependencies

(2 total, 2 outdated)

CrateRequiredLatestStatus
 quickcheck^0.9.01.1.0out of date
 rand^0.7.20.10.4out of date

Crate swarm-derive

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 syn^1.0.83.0.10out of date
 quote^1.01.0.47up to date

Crate tetsy-libp2p-uds

Dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 log^0.4.10.4.35up to date
 futures^0.3.10.3.34up to date
 tokio^1.0.11.54.1up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tempfile^3.03.27.0up to date

Crate wasm-ext

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 js-sys^0.3.190.3.107up to date
 tetsy-send-wrapper^0.1.00.1.0up to date
 wasm-bindgen^0.2.420.2.130up to date
 wasm-bindgen-futures^0.4.40.4.80up to date

Crate libp2p-remux

Dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 parking_lot^0.110.13.0out of date
 thiserror^1.02.0.21out of date
 remux^0.8.00.9.0out of date

Crate tetsy-multiaddr

Dependencies

(10 total, 3 outdated)

CrateRequiredLatestStatus
 arrayref^0.30.3.9up to date
 bs58^0.4.00.5.1out of date
 byteorder^1.3.11.5.1up to date
 data-encoding^2.12.11.1up to date
 multihash^0.130.19.5out of date
 percent-encoding^2.1.02.3.2up to date
 serde^1.0.701.0.229up to date
 static_assertions^1.11.1.0up to date
 unsigned-varint^0.70.8.0out of date
 url^2.1.02.5.9up to date

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 bincode^13.0.0out of date
 quickcheck^0.9.01.1.0out of date
 rand^0.7.20.10.4out of date
 serde_json^1.01.0.155up to date

Crate tetsy-libp2p-deflate

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 flate2^1.01.1.11up to date

Dev dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 quickcheck^0.91.1.0out of date
 rand^0.70.10.4out of date

Crate tetsy-libp2p-dns

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 log^0.4.10.4.35up to date
 futures^0.3.10.3.34up to date

Crate tetsy-libp2p-mdns

Dependencies

(11 total, 4 outdated)

CrateRequiredLatestStatus
 async-io^1.3.12.6.0out of date
 data-encoding^2.3.22.11.1up to date
 dns-parser^0.8.00.8.0up to date
 futures^0.3.130.3.34up to date
 if-watch^0.2.03.2.2out of date
 lazy_static^1.4.01.5.1up to date
 log^0.4.140.4.35up to date
 rand^0.8.30.10.4out of date
 smallvec^1.6.11.16.6up to date
 socket2^0.3.190.6.5out of date
 void^1.0.21.0.2up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.9.01.13.2up to date
 if-addrs^0.6.50.15.0out of date
 tokio^1.2.01.54.1up to date

Crate tetsy-libp2p-tcp

Dependencies

(10 total, 4 outdated)

CrateRequiredLatestStatus
 async-io^1.2.02.6.0out of date
 futures^0.3.80.3.34up to date
 futures-timer^3.03.0.4up to date
 if-watch^0.2.03.2.2out of date
 if-addrs^0.6.40.15.0out of date
 ipnet^2.0.02.12.3up to date
 libc^0.2.800.2.191up to date
 log^0.4.110.4.35up to date
 socket2^0.3.170.6.5out of date
 tokio^1.0.11.54.1up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.6.51.13.2up to date
 tokio^1.0.11.54.1up to date
 env_logger^0.8.20.11.12out of date

Crate tetsy-libp2p-websocket

Dependencies

(9 total, 3 outdated, 1 insecure)

CrateRequiredLatestStatus
 futures-rustls^0.210.26.0out of date
 either^1.5.31.19.0up to date
 futures^0.3.10.3.34up to date
 log^0.4.80.4.35up to date
 quicksink^0.10.1.2up to date
 rw-stream-sink^0.2.00.5.0out of date
 soket^0.4.20.4.2up to date
 url^2.12.5.9up to date
 webpki-roots ⚠️^0.211.0.12insecure

Crate tetsy-multistream-select

Dependencies

(6 total, 1 outdated)

CrateRequiredLatestStatus
 bytes^11.12.2up to date
 futures^0.30.3.34up to date
 log^0.40.4.35up to date
 pin-project^1.0.01.2.0up to date
 smallvec^1.01.16.6up to date
 unsigned-varint^0.70.8.0out of date

Dev dependencies

(5 total, 4 outdated)

CrateRequiredLatestStatus
 async-std^1.6.21.13.2up to date
 env_logger^0.80.11.12out of date
 quickcheck^0.9.01.1.0out of date
 rand^0.7.20.10.4out of date
 rw-stream-sink^0.2.10.5.0out of date

Crate peer-id-generator

Dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 num_cpus^1.81.17.0up to date

Security Vulnerabilities

libsecp256k1: libsecp256k1 allows overflowing signatures

RUSTSEC-2021-0076

libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified.

The error is resolved in 0.5.0 by adding a check_overflow flag.

lru: Use after free in lru crate

RUSTSEC-2021-0130

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.

ed25519-dalek: Double Public Key Signing Function Oracle Attack on `ed25519-dalek`

RUSTSEC-2022-0093

Versions of ed25519-dalek prior to v2.0 model private and public keys as separate types which can be assembled into a Keypair, and also provide APIs for serializing and deserializing 64-byte private/public keypairs.

Such APIs and serializations are inherently unsafe as the public key is one of the inputs used in the deterministic computation of the S part of the signature, but not in the R value. An adversary could somehow use the signing function as an oracle that allows arbitrary public keys as input can obtain two signatures for the same message sharing the same R and only differ on the S part.

Unfortunately, when this happens, one can easily extract the private key.

Revised public APIs in v2.0 of ed25519-dalek do NOT allow a decoupled private/public keypair as signing input, except as part of specially labeled "hazmat" APIs which are clearly labeled as being dangerous if misused.

snow: Unauthenticated Nonce Increment in snow

RUSTSEC-2024-0011

There was a logic bug where unauthenticated payloads could still cause a nonce increment in snow's internal state. For an attacker with privileges to inject packets into the channel over which the Noise session operates, this could allow a denial-of-service attack which could prevent message delivery by sending garbage data.

Note that this only affects those who are using the stateful TransportState, not those using StatelessTransportState.

This has been patched in version 0.9.5, and all users are recommended to update.

curve25519-dalek: Timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`

RUSTSEC-2024-0344

Timing variability of any kind is problematic when working with potentially secret values such as elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a problem was recently discovered in curve25519-dalek.

The Scalar29::sub (32-bit) and Scalar52::sub (64-bit) functions contained usage of a mask value inside a loop where LLVM saw an opportunity to insert a branch instruction (jns on x86) to conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:

A similar problem was recently discovered in the Kyber reference implementation:

https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ

As discussed on that thread, one portable solution, which is also used in this PR, is to introduce a volatile read as an optimization barrier, which prevents the compiler from optimizing it away.

The fix can be validated in godbolt here:

The problem was discovered and the solution independently verified by Alexander Wagner [email protected] and Lea Themint [email protected] using their DATA tool:

https://github.com/Fraunhofer-AISEC/DATA

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.

webpki-roots: Bundled root certificates allow trust in distrusted emSign intermediates

RUSTSEC-2026-0381

Affected versions include emSign ECC Root CA - G3, which can allow certificate paths through distrusted emSign intermediates.

Affected versions may accept certificate paths containing distrusted emSign intermediate public keys. The private keys corresponding to these intermediates are now well known.

Version 1.0.10+ removes this root.

The webpki-roots 0.26.11 compatibility package contains no independent trust store and re-exports the roots from its separately resolved 1.x dependency. That parent dependency must resolve to 1.0.10 or newer; an older parent remains affected by this advisory.

curve25519-dalek: Scalar Multiplication Arithmetic Bug in AVX-512 Backend

RUSTSEC-2026-0620

Summary

Any user using the AVX-512 backend of curve25519-dalek could have produced incorrect outputs on computations involving a scalar multiplication on an attacker-chosen Edwards or Ristretto point. This affects all versions of curve25519-dalek in the range 1.1.0–5.0.0, inclusive. No other backends are affected: serial, fiat, and simd (AVX2) are all fine.

Who Is Affected

Anyone who used curve25519-dalek with the AVX-512 backend. Here is how that would happen, based on crate version:

|Version|How AVX-512 backend is enabled| |-------|----------------------| |5.0.0 | The crate must be compiled with --cfg curve25519_dalek_backend="avx512" or built with target_feature=+avx512ifma,+avx512vl (or -C target-cpu=native on an AVX-512 target) on rustc ≥ 1.89 or nightly. In addition, the CPU it's being run on must have those features (runtime selection) | |4.2.0–5.0.0-rc.1 | The crate must be compiled with --cfg curve25519_dalek_backend="unstable_avx512" on nightly. | |4.0.0–4.1.3 | The crate must be compiled with nightly and the CPU it's being run on must have avx512ifma and avx512vl (i.e., runtime backend selection). | |1.1.0–3.2.1 | The nightly-only simd_backend feature must be set and the build must have target_feature=+avx512ifma |

Impact

On the AVX-512 backend, Edwards or Ristretto computations including scalar multiplication with an attacker-chosen point could be made to be incorrect. No other backends are affected. x-only multiplication used in x25519-dalek is unaffected. ed25519-dalek may be affected, though, in the worst case, a valid signature under an attacker-chosen public key would appear as invalid.

Workaround

The workaround depends on the version you're using:

|Version|Workaround| |-------|----------| |5.0.0 | Do not compile with --cfg curve25519_dalek_backend="avx512" and do not build with target_feature=+avx512ifma,+avx512vl or -C target-cpu=native on an AVX-512 target. You can set --cfg curve25519_dalek_backend="simd" instead. | |4.2.0–5.0.0-rc.1 | Do not set --cfg curve25519_dalek_backend="unstable_avx512". Or compile on stable. | |4.0.0–4.1.3 | Override the backend to --cfg curve25519_dalek_backend="serial", or compile on stable. | |1.1.0–3.2.1 | Do not set the simd_backend feature. Or do not set target_feature=+avx512ifma or -C target-cpu=native on an AVX-512 target in the build. |

More Details

A more complete writeup can be found at https://github.com/dalek-cryptography/curve25519-dalek/issues/934

snow: `HandshakeState` error rollback does not restore the `CipherState`, leading to unauthenticated DoS and potential encrypted public key leak

RUSTSEC-2026-0626

In snow there is a rollback mechanism during the handshake phase to handle recovery from bad inputs, but it didn't cover the cipher key state, leading to a Denial of Service attack with tampered (but unauthenticated) input.

If the protocol had logic to re-attempt the encryption phase with known or chosen inputs, a limited disclosure of a sealed public key (in the XX pattern, for example) was possible.