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

(13 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bytes^11.6.0up to date
 curve25519-dalek^3.0.04.1.2out of date
 futures^0.3.10.3.30up to date
 lazy_static^1.21.4.0up to date
 libp2p-core^0.32.00.41.2out of date
 log^0.40.4.21up to date
 prost^0.90.12.4out of date
 rand^0.8.30.8.5up to date
 sha2^0.10.00.10.8up to date
 snow ⚠️^0.9.00.9.6maybe insecure
 static_assertions^11.1.0up to date
 x25519-dalek^1.1.02.0.1out of date
 zeroize^11.7.0up to date

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 async-io^1.2.02.3.2out of date
 env_logger^0.9.00.11.3out of date
 quickcheck^0.9.01.0.3out of date
 sodiumoxide^0.2.50.2.7up 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.