PT-2024-26119 · Unknown · Era-Compiler-Solidity
Hedgar2017
·
Published
2024-05-13
·
Updated
2024-05-14
·
CVE-2024-34704
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
era-compiler-solidity versions prior to 1.4.1
Description
The issue occurs during the
DAGCombine phase while visiting the XOR operation, specifically when attempting to fold the expression !(x cc y) into (x !cc y). This transformation should be skipped because the correct representation of the true value is 1, not -1.Recommendations
For versions prior to 1.4.1, update to version 1.4.1 to resolve the issue.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Era-Compiler-Solidity