@openzeppelin/contracts
Affected
- introduced
2.0.0, fixed4.7.2(semver)
Fixed versions
4.7.2
Fix
- Fixed version
4.7.2npm install @openzeppelin/[email protected]
Advisory
Also known as: CVE-2022-35915
OpenZeppelin Contracts ERC165Checker unbounded gas consumption
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]](mailto:[email protected]).
Medium Basis: The source's own band: MODERATE
2.0.0, fixed 4.7.2 (semver)4.7.2
4.7.2npm install @openzeppelin/[email protected]2.0.0, last affected 4.6.0 (semver)None listed
No fixed version is listed.
3.2.0, fixed 4.7.2 (semver)4.7.2
4.7.2npm install @openzeppelin/[email protected]2.0.0, last affected 2.2.0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0