Lucene search

K
githubGitHub Advisory DatabaseGHSA-7GRF-83VW-6F5X
HistoryAug 14, 2022 - 12:23 a.m.

OpenZeppelin Contracts ERC165Checker unbounded gas consumption

2022-08-1400:23:34
CWE-400
CWE-770
GitHub Advisory Database
github.com
14

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

0.001 Low

EPSS

Percentile

39.3%

Impact

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.

Patches

The issue has been fixed in v4.7.2.

References

https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587

For more information

If you have any questions or comments about this advisory, or need assistance deploying a fix, email us at [email protected].

Affected configurations

Vulners
Node
openzeppelinopenzeppelin-ethRange2.2.0node.js
OR
openzeppelincontracts_upgradeableRange3.2.0
OR
openzeppelincontracts_upgradeableRange<4.7.2
OR
openzeppelinopenzeppelin-solidityRange4.6.0node.js
OR
openzeppelinopenzeppelin_contractsRange<4.7.2

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

0.001 Low

EPSS

Percentile

39.3%

Related for GHSA-7GRF-83VW-6F5X