CVE-2023-30541
Summary
| CVE | CVE-2023-30541 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-17 22:15:00 UTC |
| Updated | 2023-04-27 18:38:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-436
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Openzeppelin | Contracts | All | All | All | All |
| Application | Openzeppelin | Contracts Upgradeable | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v4.8.3 · OpenZeppelin/openzeppelin-contracts · GitHub | MISC | github.com | |
| Fix TransparentUpgradeableProxy's transparency by Amxx · Pull Request #4154 · OpenZeppelin/openzeppelin-contracts · GitHub | MISC | github.com | |
| TransparentUpgradeableProxy clashing selector calls may not be delegated · Advisory · OpenZeppelin/openzeppelin-contracts · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.