Lucene search

K
prionPRIOn knowledge basePRION:CVE-2023-23940
HistoryFeb 03, 2023 - 8:15 p.m.

Input validation

2023-02-0320:15:00
PRIOn knowledge base
www.prio-n.com
1
openzeppelin
cairo
secure smart contract
starknet
nvd
vulnerability
signature validation
malicious sequencer
patched 0.6.1

5.2 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

26.7%

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.

CPENameOperatorVersion
contractsge0.2.0
contractslt0.6.1

5.2 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

26.7%

Related for PRION:CVE-2023-23940