CVE-2022-35915Uncontrolled Resource Consumption in Contracts

Severity
5.3MEDIUMNVD
EPSS
0.3%
top 46.25%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 1
Latest updateAug 14

Description

OpenZeppelin Contracts is a library for secure smart contract development. The target contract of an EIP-165 `supportsInterface` query can cause unbounded gas consumption by returning a lot of data, while it is generally assumed that this operation has a bounded cost. The issue has been fixed in v4.7.2. Users are advised to upgrade. There are no known workarounds for this issue.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability: 3.9 | Impact: 1.4

Affected Packages9 packages

NVDopenzeppelin/contracts2.0.04.7.2
npmopenzeppelin/contracts2.0.04.7.2
CVEListV5openzeppelin/openzeppelin-contracts>=2.0.0 < 4.7.2

Patches

🔴Vulnerability Details

2
OSV
OpenZeppelin Contracts ERC165Checker unbounded gas consumption2022-08-14
GHSA
OpenZeppelin Contracts ERC165Checker unbounded gas consumption2022-08-14