Man in The Middle (MiTM) Affecting Open this link in a new tab package, versions <0.29.2

  • Attack Complexity


  • Integrity


Do your applications use this vulnerable package?

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 applications
  • snyk-id


  • published

    9 Apr 2020

  • disclosed

    12 Dec 2018

  • credit


Introduced: 12 Dec 2018

CWE-300 Open this link in a new tab

How to fix?

Upgrade to version 0.29.2 or higher.

Overview is a p2p connection package part of tendermint.

Affected versions of this package are vulnerable to Man in The Middle (MiTM). The MakeSecretConnection function has a bug which allows a third party to MITM the connection and decrypt/modify data in a way which both sides think the long-term key of either side is the same. This is due to a lack of validation that the ephemeral or long-term keys are not of low-order.