Lucene search

K
cve[email protected]CVE-2023-30541
HistoryApr 17, 2023 - 10:15 p.m.

CVE-2023-30541

2023-04-1722:15:10
CWE-436
web.nvd.nist.gov
24
openzeppelin
contracts
smart contract
security
selector clash
abi encoding
availability
proxy workaround
cve-2023-30541

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

5.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

39.4%

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.

Affected configurations

Vulners
NVD
Node
openzeppelinopenzeppelin_contractsRange3.2.04.8.3
OR
openzeppelinopenzeppelin_contractsRange3.2.04.8.3
VendorProductVersionCPE
openzeppelinopenzeppelin_contracts*cpe:2.3:a:openzeppelin:openzeppelin_contracts:*:*:*:*:*:*:*:*
openzeppelinopenzeppelin_contracts*cpe:2.3:a:openzeppelin:openzeppelin_contracts:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "OpenZeppelin",
    "product": "openzeppelin-contracts",
    "versions": [
      {
        "version": "@openzeppelin/contracts: >= 3.2.0, < 4.8.3",
        "status": "affected"
      },
      {
        "version": "@openzeppelin/contracts-upgradeable:  >=3.2.0, <4.8.3",
        "status": "affected"
      }
    ]
  }
]

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

5.1 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

39.4%

Related for CVE-2023-30541