Security mailing lists by PureSourceCode

CVE-2023-23940

MEDIUM 5.3CVSS 3.1

OpenZeppelin Contracts contains Improper Verification of Cryptographic Signature

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.

Published
3 Feb 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-345CWE-347
Also known as
GHSA-626q-v9j4-mcp4PYSEC-2023-39
Sources
NVDJSONOSV GHSA-626q-v9j4-mcp4JSONOSV PYSEC-2023-39JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openzeppelin contracts
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:cairo:*:*
>= 0.2.0, < 0.6.1 0.6.1
OSV PyPI openzeppelin-cairo-contracts >= 0.2.0, < 0.6.1 0.6.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Feb 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Feb 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.