Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3gw4-m5w7-v89c

Опубликовано: 11 июн. 2020
Источник: github
Github: Прошло ревью
CVSS4: 9.3
CVSS3: 7.5

Описание

Uncontrolled Resource Consumption in Indy Node

Summary

Indy Node has a bug in TAA handling code. The current primary can be crashed with a malformed transaction from a client, which leads to a view change. Repeated rapid view changes have the potential of bringing down the network.

Discovery

On May 18, Evernym's monitoring of Sovrin StagingNet showed a report of StagingNet losing sufficient consensus to validate write transactions. The problem resolved itself within a few minutes. On May 20th we saw the alert multiple times, and we began analyzing the logs of our steward node. On May 21st we continued to see the alerts with increasing frequency.

It appears that someone is unknowingly sending a malformed transaction, and retrying when the transaction fails. The cause of the errors appear to be the TAA acceptance.

Proposed actions

  • Reproduce problem in integration tests and create a fix
  • Do a hotfix release branching from last stable (current master have some things merged that are too risky)
  • Upgrade BuilderNet, StagingNet and MainNet as soon as possible
  • Improve testing strategy on Indy Node to reduce probability of such bugs

Notes

  • The journalctl logs also show an out-of-memory problem on the Australia node. We need to evaluate if this should be raised as a separate issue.

Пакеты

Наименование

indy-node

pip
Затронутые версииВерсия исправления

= 1.12.2

1.12.3

EPSS

Процентиль: 61%
0.00408
Низкий

9.3 Critical

CVSS4

7.5 High

CVSS3

Дефекты

CWE-400

Связанные уязвимости

CVSS3: 7.5
nvd
больше 5 лет назад

In Indy Node 1.12.2, there is an Uncontrolled Resource Consumption vulnerability. Indy Node has a bug in TAA handling code. The current primary can be crashed with a malformed transaction from a client, which leads to a view change. Repeated rapid view changes have the potential of bringing down the network. This is fixed in version 1.12.3.

EPSS

Процентиль: 61%
0.00408
Низкий

9.3 Critical

CVSS4

7.5 High

CVSS3

Дефекты

CWE-400