CVE-2023-23940
MEDIUMDescription
OpenZeppelin Contracts for Cairo is a library for secure smart contract development written in Cairo for StarkNet, a decentralized ZK Rollup. `is_valid_eth_signature` is missing a call to `finalize_keccak` after calling `verify_eth_signature`. As a result, any contract using `is_valid_eth_signature` from the account library (such as the `EthAccount` preset) is vulnerable to a malicious sequencer. Specifically, the malicious sequencer would be able to bypass signature validation to impersonate an instance of these accounts. The issue has been patched in 0.6.1.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 12% of all known CVEs.
References
Related Vulnerabilities
Other CWE-345 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-38831 | High | 7.8 | 98% | KEV + Ransom | Fix |
| CVE-2016-4553 | High | 8.6 | 80% | - | Fix |
| CVE-2016-4554 | High | 8.6 | 39% | - | Fix |
| CVE-2023-35719 | Medium | 6.8 | 26% | - | - |
| CVE-2022-26871 | Critical | 9.8 | 20% | KEV | - |
| CVE-2014-4936 | High | 9.3 | 17% | - | - |
Embed a live status badge for CVE-2023-23940
Markdown
[](https://tridentstack.com/cve/CVE-2023-23940)HTML
<a href="https://tridentstack.com/cve/CVE-2023-23940"><img src="https://tridentstack.com/cve/badge/CVE-2023-23940.svg" alt="CVE-2023-23940"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.