CVE-2024-34704

MediumCVSS 5.9/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 5.9/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 14, 2024
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2024

CVE-2024-347069.8Valtimo is an open source business process and case management platform. When opening a form in Valtimo, the access token (JWT) of the user CVE-2024-347074.8Nautobot is a Network Source of Truth and Network Automation Platform. A Nautobot user with admin privileges can modify the `BANNER_TOP`, `BCVE-2024-347084.9Directus is a real-time API and App dashboard for managing SQL database content. A user with permission to view any collection using redacteCVE-2024-347095.4Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, session tokens function like the other JWCVE-2024-34713.4The Button Generator WordPress plugin before 3.0 does not have CSRF check in place when bulk deleting, which could allow attackers to make CVE-2024-347107.1Wiki.js is al wiki app built on Node.js. Client side template injection was discovered, that could allow an attacker to inject malicious JavCVE-2024-347118.2GeoServer is an open source server that allows users to share and edit geospatial data. An improper URI validation vulnerability exists thatCVE-2024-347126.5Oceanic is a NodeJS library for interfacing with Discord. Prior to version 1.10.4, input to functions such as `Client.rest.channels.removeBaCVE-2024-347133.5sshproxy is used on a gateway to transparently proxy a user SSH connection on the gateway to an internal host via SSH. Prior to version 1.6.CVE-2024-347147.6The Hoppscotch Browser Extension is a browser extension for Hoppscotch, a community-driven end-to-end open-source API development ecosystem.CVE-2024-347153.3Fides is an open-source privacy engineering platform. The Fides webserver requires a connection to a hosted PostgreSQL database for persisteCVE-2024-347166.1PrestaShop is an open source e-commerce web application. A cross-site scripting (XSS) vulnerability that only affects PrestaShops with custo
CVE-2024-34704: Medium severity, CVSS 5.9 | Vulnix