CVE-2023-30542

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2023-30542
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30542.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30542
Aliases
Published
2023-04-16T08:15:07Z
Modified
2024-06-06T14:21:22.004768Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/openzeppelin/openzeppelin-contracts

Affected ranges

Type
GIT
Repo
https://github.com/openzeppelin/openzeppelin-contracts
Events
Type
GIT
Repo
https://github.com/openzeppelin/openzeppelin-contracts-upgradeable
Events

Affected versions

v4.*

v4.3.0
v4.3.1
v4.3.2
v4.4.0
v4.4.0-rc.0
v4.4.0-rc.1
v4.4.1
v4.8.0
v4.8.0-rc.0
v4.8.0-rc.1
v4.8.0-rc.2
v4.8.1
v4.8.2