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 libp2p-noise

Dependencies

(18 total, 1 possibly insecure)

CrateRequiredLatestStatus
 asynchronous-codec^0.70.7.0up to date
 bytes^11.6.0up to date
 curve25519-dalek^4.1.14.1.2up to date
 futures^0.3.290.3.30up to date
 libp2p-core^0.41.00.41.2up to date
 libp2p-identity^0.2.70.2.8up to date
 multiaddr^0.18.00.18.1up to date
 multihash^0.19.10.19.1up to date
 once_cell^1.18.01.19.0up to date
 quick-protobuf^0.80.8.1up to date
 rand^0.8.30.8.5up to date
 sha2^0.10.80.10.8up to date
 snow ⚠️^0.9.20.9.6maybe insecure
 static_assertions^11.1.0up to date
 thiserror^1.0.501.0.60up to date
 tracing^0.1.370.1.40up to date
 x25519-dalek^22.0.1up to date
 zeroize^11.7.0up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 futures_ringbuf^0.4.00.4.0up to date
 libp2p-identity^0.2.70.2.8up to date
 tracing-subscriber^0.30.3.18up to date

Security Vulnerabilities

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.