{"id":"CVE-2021-21369","state":"PUBLISHED","title":"Potential DoS in Besu HTTP JSON-RPC API","description":"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.","publishedAt":"2021-03-09T18:10:18.000Z","updatedAt":"2024-08-03T18:09:15.981Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["hyperledger besu"],"affected":[{"vendor":"hyperledger","product":"besu","versions":[{"version":"< 1.5.1","status":"affected"}]}],"references":["https://github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q","https://github.com/hyperledger/besu/blob/master/CHANGELOG.md#151","https://github.com/hyperledger/besu/pull/1144","https://github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21369.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21369","state":"PUBLISHED","datePublished":"2021-03-09T18:10:18.000Z","dateUpdated":"2024-08-03T18:09:15.981Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"Potential DoS in Besu HTTP JSON-RPC API","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"hyperledger","product":"besu","versions":[{"version":"< 1.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hyperledger/besu/blob/master/CHANGELOG.md#151","tags":["x_refsource_MISC"]},{"url":"https://github.com/hyperledger/besu/pull/1144","tags":["x_refsource_MISC"]},{"url":"https://github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-03-09T18:10:18.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-qgfj-mjpc-7w3q","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21369","STATE":"PUBLIC","TITLE":"Potential DoS in Besu HTTP JSON-RPC API"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"besu","version":{"version_data":[{"version_value":"< 1.5.1"}]}}]},"vendor_name":"hyperledger"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q","refsource":"CONFIRM","url":"https://github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q"},{"name":"https://github.com/hyperledger/besu/blob/master/CHANGELOG.md#151","refsource":"MISC","url":"https://github.com/hyperledger/besu/blob/master/CHANGELOG.md#151"},{"name":"https://github.com/hyperledger/besu/pull/1144","refsource":"MISC","url":"https://github.com/hyperledger/besu/pull/1144"},{"name":"https://github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022","refsource":"MISC","url":"https://github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022"}]},"source":{"advisory":"GHSA-qgfj-mjpc-7w3q","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/hyperledger/besu/security/advisories/GHSA-qgfj-mjpc-7w3q","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/hyperledger/besu/blob/master/CHANGELOG.md#151","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/hyperledger/besu/pull/1144","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/hyperledger/besu/commit/06e35a58c07a30c0fbdc0aae45a3e8b06b53c022","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:15.981Z"}}]}}}