matter-labs era-compiler-solidity up to 1.5.2 calculation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in matter-labs era-compiler-solidity up to 1.5.2. Affected is an unknown function. This manipulation causes calculation. This vulnerability is handled as CVE-2024-45056. The attack can be initiated remotely. There is not any exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic was found in matter-labs era-compiler-solidity up to 1.5.2. Affected by this vulnerability is some unknown processing. The manipulation with an unknown input leads to a calculation vulnerability. The CWE definition for the vulnerability is CWE-682. The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management. As an impact it is known to affect integrity. The summary by CVE is:
zksolc is a Solidity compiler for ZKsync. All LLVM versions since 2015 fold `(xor (shl 1, x), -1)` to `(rotl ~1, x)` if run with optimizations enabled. Here `~1` is generated as an unsigned 64 bits number (`2^64-1`). This number is zero-extended to 256 bits on EraVM target while it should have been sign-extended. Thus instead of producing `roti 2^256 - 1, x` the compiler produces `rotl 2^64 - 1, x`. Analysis has shown that no contracts were affected by the date of publishing this advisory. This issue has been addressed in version 1.5.3. Users are advised to upgrade and redeploy all contracts. There are no known workarounds for this vulnerability.
The advisory is shared at github.com. This vulnerability is known as CVE-2024-45056 since 08/21/2024. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Neither technical details nor an exploit are publicly available.
Upgrading to version 1.5.3 eliminates this vulnerability. Applying the patch e48237df95b49a36b8ffceb78c8a58f4be1b4344 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.1
VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.9
NVD Vector: 🔍
CNA Base Score: 5.9
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: CalculationCWE: CWE-682
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: era-compiler-solidity 1.5.3
Patch: e48237df95b49a36b8ffceb78c8a58f4be1b4344
Timeline
08/21/2024 🔍08/29/2024 🔍
08/29/2024 🔍
09/04/2024 🔍
Sources
Product: github.comAdvisory: GHSA-fpx7-8vc6-frjj
Status: Confirmed
CVE: CVE-2024-45056 (🔍)
GCVE (CVE): GCVE-0-2024-45056
GCVE (VulDB): GCVE-100-276121
Entry
Created: 08/29/2024 20:31Updated: 09/04/2024 03:58
Changes: 08/29/2024 20:31 (65), 08/31/2024 09:38 (1), 09/04/2024 03:58 (11)
Complete: 🔍
Cache ID: 216:763:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.