CVE-2022-35915

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:openzeppelin-eth:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:openzeppelin-solidity:*:*:*:*:*:node.js:*:*

History

21 Jul 2023, 20:48

Type Values Removed Values Added
CPE cpe:2.3:a:openzeppelin:contracts-upgradeable:*:*:*:*:*:node.js:*:* cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
CWE CWE-400 CWE-770

08 Aug 2022, 18:59

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:openzeppelin:openzeppelin-solidity:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:contracts-upgradeable:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:openzeppelin-eth:*:*:*:*:*:node.js:*:*
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
References (CONFIRM) https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x - (CONFIRM) https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x - Third Party Advisory
References (MISC) https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587 - (MISC) https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587 - Patch, Third Party Advisory

01 Aug 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-01 21:15

Updated : 2024-02-04 22:51


NVD link : CVE-2022-35915

Mitre link : CVE-2022-35915

CVE.ORG link : CVE-2022-35915


JSON object : View

Products Affected

openzeppelin

  • contracts
  • openzeppelin-solidity
  • contracts_upgradeable
  • openzeppelin-eth
CWE
CWE-770

Allocation of Resources Without Limits or Throttling

CWE-400

Uncontrolled Resource Consumption