Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-41272— SHL, SHR, and SAR operations trigger native exception at key values in besu

Quick assessment

Affected
hyperledger besu
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Matkt Hyperledger Besu是 (Matkt)开源的一个应用程序。用于运行,维护,调试和监视以太坊网络中的节点。 Besu 21.10.0版本开始存在安全漏洞,该漏洞源于软件中SHL、SHR和SAR操作实现中的更改导致在表示32位有符号整数的负值的值中引入了有符号类型强制转换错误。要求在大约20亿到40亿位之间转换的智能合约(对于操作来说是无意义的但有效的值)将无法执行,因此无法验证。在脆弱版本与其他客户端或非脆弱版本进行挖掘的网络中,这将导致分叉和相关事务处理

CVSS 7.5 · High EPSS 1.42% · P70

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-41272

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SHL, SHR, and SAR operations trigger native exception at key values in besu
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
数值类型间的不正确转换
Source: CVE Program / CVE List V5
Vulnerability Title
Matkt Hyperledger Besu 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Matkt Hyperledger Besu是 (Matkt)开源的一个应用程序。用于运行,维护,调试和监视以太坊网络中的节点。 Besu 21.10.0版本开始存在安全漏洞,该漏洞源于软件中SHL、SHR和SAR操作实现中的更改导致在表示32位有符号整数的负值的值中引入了有符号类型强制转换错误。要求在大约20亿到40亿位之间转换的智能合约(对于操作来说是无意义的但有效的值)将无法执行,因此无法验证。在脆弱版本与其他客户端或非脆弱版本进行挖掘的网络中,这将导致分叉和相关事务处理
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
hyperledger besu > 21.7.4, < 21.10.2 -

II. Public POCs for CVE-2021-41272

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-41272

登录查看更多情报信息。

Patches & Fixes for CVE-2021-41272 (2)

Vendor Advisories for CVE-2021-41272 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-41272

No comments yet


Leave a comment