Approved changes feed: RSS · Atom

cpe:2.3:a:matter-labs:era-compiler-solidity:1.2.0:*:*:*:*:*:*:*

part: a version: 1.2.0 update: *

VendorMatter Labs (a83ac4d1-d12e-5ff8-a089-b4523fd52ee1)
ProductEra Compiler Solidity (296afa22-5b49-5742-a3f0-568707fdb095)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-34704 vulnerable 2026-06-08 06:37:34.880770 era-compiler-solidity contains a `xor(zext(cmp), -1)` misoptimization
MEDIUM (5.9)
era-compiler-solidity is the ZKsync compiler for Solidity. The problem occurred during instruction selection in the `DAGCombine` phase while visiting the XOR operation. The issue arises when attempting to fold the expression `!(x cc y)` into `(x !cc y)`. To perform this transformation, the second operand of XOR should be a constant representing the true value. However, it was incorrectly assumed that -1 represents the true value, when in fact, 1 is the correct representation, so this transformation for this case should be skipped. This vulnerability is fixed in 1.4.1.
Published: 2024-05-13T19:13:27.510Z
Updated: 2024-08-02T02:59:21.780Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.