CVE-2022-35915

Uncontrolled Resource Consumption in npm/openzeppelin-solidity

Identifiers

CVE-2022-35915, GHSA-7grf-83vw-6f5x

Package Slug

npm/openzeppelin-solidity

Vulnerability

Uncontrolled Resource Consumption

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.

Affected Versions

All versions starting from 2.0.0

Solution

Unfortunately, there is no solution available yet.

Last Modified

2022-08-09

source