Live threats

All CVEs / Openzeppelin

CVE-2023-30542Openzeppelin Contracts

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Apr 16, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

OpenZeppelin Contracts is a library for secure smart contract development. The proposal creation entrypoint (`propose`) in `GovernorCompatibilityBravo` allows the creation of proposals with a `signatures` array shorter than the `calldatas` array. This causes the additional elements of the latter to be ignored, and if the proposal succeeds the corresponding actions would eventually execute without any calldata. The `ProposalCreated` event correctly represents what will eventually execute, but the proposal parameters as queried through `getActions` appear to respect the original intended calldata. This issue has been patched in 4.8.3. As a workaround, ensure that all proposals that pass through governance have equal length `signatures` and `calldatas` parameters.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contracts.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @openzeppelin/contracts ≥ 4.3.0 < 4.8.3 4.8.3 npm install @openzeppelin/contracts@4.8.3
npm @openzeppelin/contracts-upgradeable ≥ 4.3.0 < 4.8.3 4.8.3 npm install @openzeppelin/contracts-upgradeable@4.8.3

Per OSV / GitHub Advisories (GHSA-93hq-5wgc-jc82). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
openzeppelincontracts≥ 4.3.0 < 4.8.3
openzeppelincontracts_upgradeable≥ 4.3.0 < 4.8.3

Official sources

References

Links published by the sources. Open them with care.