Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-30542

6.8 · MEDIUM
Published Apr 16, 2023 openzeppelin CWE-20 EPSS 0.58% (46th pctl)

Overview

CVE-2023-30542 is a medium-severity vulnerability affecting openzeppelin contracts. It was published on April 16, 2023 and has a CVSS 3.1 base score of 6.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from openzeppelin. Update contracts to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
openzeppelin contracts >= 4.3.0, < 4.8.3 Affected
openzeppelin contracts_upgradeable >= 4.3.0, < 4.8.3 Affected

Frequently Asked Questions

What is CVE-2023-30542?

CVE-2023-30542 is a medium-severity vulnerability affecting openzeppelin contracts. It was published on April 16, 2023 and has a CVSS 3.1 base score of 6.8 (MEDIUM).

How severe is CVE-2023-30542?

This vulnerability has a CVSS 3.1 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-30542?

Check the references section for vendor advisories and patches from openzeppelin. Update contracts to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-30542?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-30542 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.