5.3
MEDIUM
CVE-2023-30541
OpenZeppelin Contracts Inaccessible Function Clash Vulnerability
Description

OpenZeppelin Contracts is a library for secure smart contract development. A function in the implementation contract may be inaccessible if its selector clashes with one of the proxy's own selectors. Specifically, if the clashing function has a different signature with incompatible ABI encoding, the proxy could revert while attempting to decode the arguments from calldata. The probability of an accidental clash is negligible, but one could be caused deliberately and could cause a reduction in availability. The issue has been fixed in version 4.8.3. As a workaround if a function appears to be inaccessible for this reason, it may be possible to craft the calldata such that ABI decoding does not fail at the proxy and the function is properly proxied through.

INFO

Published Date :

April 17, 2023, 10:15 p.m.

Last Modified :

April 27, 2023, 6:38 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-30541 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-30541 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Openzeppelin contracts
2 Openzeppelin contracts_upgradeable
3 Openzeppelin openzeppelin_contracts
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-30541.

URL Resource
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4154 Patch
https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3 Release Notes
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-mx2q-35m2-x2rh Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Deploy a decentralised governance system to the Ethereum Sepolia testnet

Solidity JavaScript

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Aug. 10, 2023, 1:18 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-30541 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-30541 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 27, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
    Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4154 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4154 Patch
    Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3 No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3 Release Notes
    Changed Reference Type https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-mx2q-35m2-x2rh No Types Assigned https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-mx2q-35m2-x2rh Vendor Advisory
    Added CWE NIST CWE-436
    Added CPE Configuration OR *cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* versions from (including) 3.2.0 up to (excluding) 4.8.3 *cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:* versions from (including) 3.2.0 up to (excluding) 4.8.3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-30541 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-30541 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.01%

score

0.42193

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability