Resource exhaustion in Hyperledger Besu
CVE-2021-21369
Hyperledger Besu is an open-source, MainNet compatible, Ethereum client written in Java. In Besu before version 1.5.1 there is a denial-of-service vulnerability involving the HTTP JSON-RPC API service. If username and password authentication is enabled for the HTTP JSON-RPC API service, then prior to making any requests to an API endpoint the requestor must use the login endpoint to obtain a JSON web token (JWT) using their credentials. A single user can readily overload the login endpoint with invalid requests (incorrect password). As the supplied password is checked for validity on the main vertx event loop and takes a relatively long time this can cause the processing of other valid requests to fail. A valid username is required for this vulnerability to be exposed. This has been fixed in version 1.5.1.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hyperledger Besu — versions < 1.5.1
- Linuxfoundation Besu
Weakness classification (CWE)
References
- github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q (Third Party Advisory)
- github.com/hyperledger/besu/blob/master/CHANGELOG.md (Third Party Advisory, Release Notes)
- github.com/hyperledger/besu/pull/1144 (Patch, Third Party Advisory)
- github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022 (Patch, Third Party Advisory)