CVE & CISA-KEV Catalog

CVE-2023-23940

MEDIUM
6.4
CVSS v3
NVD

Description

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 Available
contractsNVD
Affected:>= 0.2.0, < 0.6.1Fixed in:0.6.1CVE-2023-23940derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityHigh
AvailabilityLow

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

Exploit Intelligence

0.22%probability of exploitation in 30 days
12thpercentile

Low risk: more likely to be exploited than 12% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-345 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-38831High7.898%KEV + RansomFix
CVE-2016-4553High8.680%-Fix
CVE-2016-4554High8.639%-Fix
CVE-2023-35719Medium6.826%--
CVE-2022-26871Critical9.820%KEV-
CVE-2014-4936High9.317%--
Embed a live status badge for CVE-2023-23940
CVE-2023-23940 severity badge

Markdown

[![CVE-2023-23940](https://tridentstack.com/cve/badge/CVE-2023-23940.svg)](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 free

This 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.