In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade russh to version 0.62.4 or higher.
Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions via the compute_shared_secret function. An attacker can cause a client session to terminate unexpectedly by sending a malformed key-exchange reply with an incorrect ephemeral key length during the SSH handshake. This can be exploited by a malicious server or a man-in-the-middle attacker before authentication is completed.
This vulnerability can be mitigated by disabling curve25519-sha256 in the preferred key exchange algorithms and using alternatives that validate peer-ephemeral lengths.