Security mailing lists by PureSourceCode

CVE-2022-35915

MEDIUM 5.3CVSS 3.1

OpenZeppelin Contracts ERC165Checker unbounded gas consumption

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.

Published
1 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-7grf-83vw-6f5x
Sources
NVDJSONOSV GHSA-7grf-83vw-6f5xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openzeppelin contracts
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
>= 2.0.0, < 4.7.2 4.7.2
NVD openzeppelin contracts_upgradeable
cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
>= 3.2.0, < 4.7.2 4.7.2
NVD openzeppelin openzeppelin-eth
cpe:2.3:a:openzeppelin:openzeppelin-eth:*:*:*:*:*:node.js:*:*
>= 2.0.0
NVD openzeppelin openzeppelin-solidity
cpe:2.3:a:openzeppelin:openzeppelin-solidity:*:*:*:*:*:node.js:*:*
>= 2.0.0
OSV npm @openzeppelin/contracts >= 2.0.0, < 4.7.2 4.7.2
OSV npm openzeppelin-solidity >= 2.0.0, <= 4.6.0
OSV npm @openzeppelin/contracts-upgradeable >= 3.2.0, < 4.7.2 4.7.2
OSV npm openzeppelin-eth >= 2.0.0, <= 2.2.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Aug 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.