Man in The Middle (MiTM) Affecting github.com/tendermint/tendermint/p2p/conn Open this link in a new tab package, versions <0.29.2


0.0
medium
  • Attack Complexity

    High

  • Integrity

    High

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

    SNYK-GOLANG-GITHUBCOMTENDERMINTTENDERMINTP2PCONN-564993

  • published

    9 Apr 2020

  • disclosed

    12 Dec 2018

  • credit

    Unknown

Introduced: 12 Dec 2018

CWE-300 Open this link in a new tab

How to fix?

Upgrade github.com/tendermint/tendermint/p2p/conn to version 0.29.2 or higher.

Overview

github.com/tendermint/tendermint/p2p/conn 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.