TROYANOSYVIRUS
Back to CVEs

CVE-2023-30541

MEDIUM
5.3

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.

CVE Details

CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/17/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

openzeppelin:contractsopenzeppelin:contracts_upgradeable

Weaknesses (CWE)

CWE-436CWE-436

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.