Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-23940

published medium CVSS 3.1 · 6.4

OpenZeppelin Contracts for Cairo is vulnerable to signature validation bypass

Published
03 Feb 2023, 19:43:11 UTC
Updated
10 Mar 2025, 21:16:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenZeppelin — cairo-contracts>= 0.2.0, < 0.6.1 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.4 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenZeppelin cairo-contracts >= 0.2.0, < 0.6.1 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-347 CWE-347: Improper Verification of Cryptographic Signature (GitHub_M · cna)
  • CWE-345 CWE-345: Insufficient Verification of Data Authenticity (GitHub_M · cna)

References

2

Provider assertions

3

GitHub_M · cna

OpenZeppelin Contracts for Cairo is vulnerable to signature validation bypass

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
2064756a9c66b4ed588d28ea23ccdc332c3d2704bc48147db7fb77af7ecbb634
Ingested
23 Sep 2026, 08:06:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected