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.1up to date
 futures^0.3.10.3.34up to date
 lazy_static^1.21.5.1up to date
 parking_lot^0.11.00.12.5out of date
 pin-project^1.0.01.1.13up to date
 smallvec^1.01.16.2up 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.11out of date
 tokio^1.0.11.53.2up 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.34up to date
 multihash^0.130.19.5out of date
 parking_lot^0.11.00.12.5out of date
 pin-project^1.0.01.1.13up to date
 prost^0.70.14.4out of date
 rand^0.70.10.3out of date
 rw-stream-sink^0.2.00.5.0out of date
 sha2^0.9.10.11.0out of date
 smallvec^1.01.16.2up 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.1up 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.4out 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.34up to date
 prost^0.70.14.4out of date
 rand^0.70.10.3out of date
 smallvec^1.01.16.2up to date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.4out of date

Crate tetsy-libp2p-gossipsub

Dependencies

(15 total, 6 outdated)

CrateRequiredLatestStatus
 bytes^1.01.12.1up to date
 byteorder^1.3.41.5.0up to date
 fnv^1.0.71.0.7up to date
 futures^0.3.50.3.34up to date
 rand^0.7.30.10.3out 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.34up to date
 sha2^0.9.10.11.0out of date
 base64^0.13.00.23.1out of date
 smallvec^1.4.21.16.2up to date
 prost^0.70.14.4out of date
 hex_fmt^0.3.00.3.0up to date
 regex^1.4.01.13.1up to date

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 async-std^1.6.31.13.2up to date
 env_logger^0.8.10.11.11out 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.4out 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.34up to date
 prost^0.70.14.4out of date
 smallvec^1.01.16.2up 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.4out of date

Crate tetsy-libp2p-kad

Dependencies

(15 total, 7 outdated)

CrateRequiredLatestStatus
 arrayvec^0.5.10.7.8out of date
 bytes^11.12.1up 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.34up to date
 prost^0.70.14.4out of date
 rand^0.7.20.10.3out of date
 sha2^0.9.10.11.0out of date
 smallvec^1.01.16.2up 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.4out of date

Crate tetsy-libp2p-mplex

Dependencies

(9 total, 4 outdated)

CrateRequiredLatestStatus
 bytes^11.12.1up to date
 futures^0.3.10.3.34up to date
 asynchronous-codec^0.60.7.0out of date
 log^0.40.4.34up to date
 nohash^0.20.2.0up to date
 parking_lot^0.110.12.5out of date
 rand^0.70.10.3out of date
 smallvec^1.41.16.2up 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.11out of date
 futures^0.30.3.34up to date
 quickcheck^0.91.1.0out of date
 rand^0.70.10.3out of date

Crate tetsy-libp2p-noise

Dependencies

(12 total, 6 outdated, 2 insecure)

CrateRequiredLatestStatus
 bytes^11.12.1up to date
 curve25519-dalek ⚠️^3.0.05.0.0insecure
 futures^0.3.10.3.34up to date
 lazy_static^1.21.5.1up to date
 log^0.40.4.34up to date
 prost^0.70.14.4out of date
 rand^0.7.20.10.3out of date
 sha2^0.9.10.11.0out of date
 static_assertions^11.1.0up to date
 x25519-dalek^1.1.03.0.0out of date
 zeroize^11.9.1up to date
 snow ⚠️^0.7.10.10.0insecure

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 async-io^1.2.02.6.0out of date
 env_logger^0.8.10.11.11out 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.4out 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.34up to date
 rand^0.7.20.10.3out 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.1up to date
 futures^0.3.10.3.34up to date
 asynchronous-codec^0.60.7.0out of date
 log^0.4.80.4.34up to date
 prost^0.70.14.4out 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.11out of date
 quickcheck^0.9.01.1.0out of date
 rand^0.70.10.3out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.4out 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.34up to date
 salsa20^0.70.11.0out of date
 sha3^0.90.12.0out of date
 rand^0.70.10.3out of date
 pin-project^1.0.21.1.13up 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.1up to date
 futures^0.3.10.3.34up to date
 futures-timer^33.0.4up to date
 log^0.40.4.34up to date
 pin-project^11.1.13up to date
 prost^0.70.14.4out of date
 rand^0.70.10.3out of date
 smallvec^0.6.91.16.2out 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.11out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 prost-build^0.70.14.4out of date

Crate request-response

Dependencies

(10 total, 4 outdated, 1 insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.92up to date
 bytes^11.12.1up to date
 futures^0.3.10.3.34up to date
 log^0.4.110.4.34up to date
 lru ⚠️^0.60.18.5insecure
 minicbor^0.72.3.0out of date
 rand^0.70.10.3out of date
 smallvec^1.41.16.2up 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.3out 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.34up to date
 rand^0.70.10.3out of date
 smallvec^1.01.16.2up 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.3out of date

Crate swarm-derive

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 syn^1.0.83.0.6out 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.34up to date
 futures^0.3.10.3.34up to date
 tokio^1.0.11.53.2up 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.106up to date
 tetsy-send-wrapper^0.1.00.1.0up to date
 wasm-bindgen^0.2.420.2.129up to date
 wasm-bindgen-futures^0.4.40.4.79up to date

Crate libp2p-remux

Dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 futures^0.3.10.3.34up to date
 parking_lot^0.110.12.5out 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.0up 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.8up 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.3out of date
 serde_json^1.01.0.151up 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.10up 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.3out of date

Crate tetsy-libp2p-dns

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 log^0.4.10.4.34up 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.34up to date
 rand^0.8.30.10.3out of date
 smallvec^1.6.11.16.2up 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.53.2up 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.2up to date
 libc^0.2.800.2.190up to date
 log^0.4.110.4.34up to date
 socket2^0.3.170.6.5out of date
 tokio^1.0.11.53.2up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 async-std^1.6.51.13.2up to date
 tokio^1.0.11.53.2up to date
 env_logger^0.8.20.11.11out of date

Crate tetsy-libp2p-websocket

Dependencies

(9 total, 3 outdated)

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.34up 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.8up to date
 webpki-roots^0.211.0.9out of date

Crate tetsy-multistream-select

Dependencies

(6 total, 1 outdated)

CrateRequiredLatestStatus
 bytes^11.12.1up to date
 futures^0.30.3.34up to date
 log^0.40.4.34up to date
 pin-project^1.0.01.1.13up to date
 smallvec^1.01.16.2up 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.11out of date
 quickcheck^0.9.01.1.0out of date
 rand^0.7.20.10.3out 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.