{"id":"CVE-2023-30541","published":"2023-04-17T21:37:29Z","modified":"2025-02-05T20:31:15Z","title":"TransparentUpgradeableProxy clashing selector calls may not be delegated in @openzeppelin/contracts","vendor":"OpenZeppelin","product":"openzeppelin-contracts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00812,"percentile":0.5788,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-mx2q-35m2-x2rh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4154","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":11.58},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-contracts","versions":["@openzeppelin/contracts: >= 3.2.0, < 4.8.3","@openzeppelin/contracts-upgradeable:  >=3.2.0, <4.8.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-05T20:31:10.422784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@openzeppelin/contracts","vulnerableRanges":[">=3.2.0, <4.8.3"],"patched":["4.8.3"],"from":["GHSA-mx2q-35m2-x2rh"],"provenance":"source"},{"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","vulnerableRanges":[">=3.2.0, <4.8.3"],"patched":["4.8.3"],"from":["GHSA-mx2q-35m2-x2rh"],"provenance":"source"}],"summary":{"text":"A flaw in the openzeppelin-contracts library's TransparentUpgradeableProxy means that a function in an implementation contract can become unreachable when its function selector collides with one of the proxy's own selectors. An attacker with network access and no privileges or user interaction can deliberately craft such a clash, causing the proxy to revert while decoding arguments and so reducing availability of the affected function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:55Z"},"euvd":{"id":"EUVD-2023-1359","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-35916","published":"2022-08-01","fixed":"4.7.2","kev":false},{"cve":"CVE-2022-35961","published":"2022-08-14","fixed":"4.7.3","kev":false},{"cve":"CVE-2023-26488","published":"2023-03-03","fixed":"4.8.2","kev":false,"link":{"from":"CVE-2023-26488","to":"CVE-2023-30541","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.8.2","toFixed":"4.8.3","daysApart":45},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.8.2","toFixed":"4.8.3","daysApart":45}]}},{"cve":"CVE-2023-30541","published":"2023-04-17","fixed":"4.8.3","kev":false},{"cve":"CVE-2023-30542","published":"2023-04-16","fixed":"4.8.3","kev":false},{"cve":"CVE-2023-34234","published":"2023-06-07","fixed":"4.9.1","kev":false,"link":{"from":"CVE-2023-30541","to":"CVE-2023-34234","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.8.3","toFixed":"4.9.1","daysApart":51},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.8.3","toFixed":"4.9.1","daysApart":51}]}},{"cve":"CVE-2023-34459","published":"2023-06-16","fixed":"4.9.2","kev":false}],"package":"npm:@openzeppelin/contracts"}}