CVE-2021-41272
Besu Signed Integer Coercion Error (Denial of Service and Data Corruption)
Description
Besu is an Ethereum client written in Java. Starting in version 21.10.0, changes in the implementation of the SHL, SHR, and SAR operations resulted in the introduction of a signed type coercion error in values that represent negative values for 32 bit signed integers. Smart contracts that ask for shifts between approximately 2 billion and 4 billion bits (nonsensical but valid values for the operation) will fail to execute and hence fail to validate. In networks where vulnerable versions are mining with other clients or non-vulnerable versions this will result in a fork and the relevant transactions will not be included in the fork. In networks where vulnerable versions are not mining (such as Rinkeby) no fork will result and the validator nodes will stop accepting blocks. In networks where only vulnerable versions are mining the relevant transaction will not be included in any blocks. When the network adds a non-vulnerable version the network will act as in the first case. Besu 21.10.2 contains a patch for this issue. Besu 21.7.4 is not vulnerable and clients can roll back to that version. There is a workaround available: Once a transaction with the relevant shift operations is included in the canonical chain, the only remediation is to make sure all nodes are on non-vulnerable versions.
INFO
Published Date :
Dec. 13, 2021, 9:15 p.m.
Last Modified :
Dec. 16, 2021, 4:05 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-41272
.
URL | Resource |
---|---|
https://github.com/hyperledger/besu/commit/4170524ac3b45185704fcfbdeeb71b0b05dfa0a1 | Patch Third Party Advisory |
https://github.com/hyperledger/besu/pull/3039 | Issue Tracking Patch Third Party Advisory |
https://github.com/hyperledger/besu/security/advisories/GHSA-7pg2-p5vj-xp5h | Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-41272
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-41272
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Dec. 16, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Changed Reference Type https://github.com/hyperledger/besu/commit/4170524ac3b45185704fcfbdeeb71b0b05dfa0a1 No Types Assigned https://github.com/hyperledger/besu/commit/4170524ac3b45185704fcfbdeeb71b0b05dfa0a1 Patch, Third Party Advisory Changed Reference Type https://github.com/hyperledger/besu/pull/3039 No Types Assigned https://github.com/hyperledger/besu/pull/3039 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/hyperledger/besu/security/advisories/GHSA-7pg2-p5vj-xp5h No Types Assigned https://github.com/hyperledger/besu/security/advisories/GHSA-7pg2-p5vj-xp5h Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:besu:21.10.0:-:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:besu:21.10.0:rc1:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:besu:21.10.0:rc2:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:besu:21.10.0:rc3:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:besu:21.10.0:rc4:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:besu:21.10.1:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-41272
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-41272
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} 0.02%
score
0.51465
percentile