CVE Vulnerabilities

CVE-2018-17145

Uncontrolled Resource Consumption

Published: Sep 10, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

Bitcoin Core 0.16.x before 0.16.2 and Bitcoin Knots 0.16.x before 0.16.2 allow remote denial of service via a flood of multiple transaction inv messages with random hashes, aka INVDoS. NOTE: this can also affect other cryptocurrencies, e.g., if they were forked from Bitcoin Core after 2017-11-15.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Bcoin Bcoin * 1.0.2 (excluding)
Bitcoin_core Bitcoin 0.16.0 (including) 0.16.2 (excluding)
Bitcoin_knots Bitcoinknots 0.16.0 (including) 0.16.2 (excluding)
Btcd Btcd_project 0.3.0-alpha (including) 0.3.0-alpha (including)
Btcd Btcd_project 0.3.1-alpha (including) 0.3.1-alpha (including)
Btcd Btcd_project 0.3.2-alpha (including) 0.3.2-alpha (including)
Btcd Btcd_project 0.3.3-alpha (including) 0.3.3-alpha (including)
Btcd Btcd_project 0.4.0-alpha (including) 0.4.0-alpha (including)
Btcd Btcd_project 0.5.0-alpha (including) 0.5.0-alpha (including)
Btcd Btcd_project 0.6.0-alpha (including) 0.6.0-alpha (including)
Btcd Btcd_project 0.7.0-alpha (including) 0.7.0-alpha (including)
Btcd Btcd_project 0.8.0-beta (including) 0.8.0-beta (including)
Btcd Btcd_project 0.9.0-beta (including) 0.9.0-beta (including)
Btcd Btcd_project 0.10.0-beta (including) 0.10.0-beta (including)
Btcd Btcd_project 0.11.0-beta (including) 0.11.0-beta (including)
Btcd Btcd_project 0.11.1-beta (including) 0.11.1-beta (including)
Btcd Btcd_project 0.12.0-beta (including) 0.12.0-beta (including)
Btcd Btcd_project 0.13.0-beta (including) 0.13.0-beta (including)
Btcd Btcd_project 0.13.0-beta2 (including) 0.13.0-beta2 (including)
Btcd Btcd_project 0.20.0-beta (including) 0.20.0-beta (including)
Btcd Btcd_project 0.20.1-beta (including) 0.20.1-beta (including)
Dcrd Decred * 1.5.2 (excluding)
Litecoin Litecoin 0.16.0 (including) 0.16.2 (excluding)
Namecoin_core Namecoin 0.16.0 (including) 0.16.2 (excluding)

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References