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.
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587
If you have any questions or comments about this advisory, or need assistance deploying a fix, email us at security@openzeppelin.com.
{
"severity": "MODERATE",
"github_reviewed_at": "2022-08-14T00:23:34Z",
"github_reviewed": true,
"nvd_published_at": "2022-08-01T21:15:00Z",
"cwe_ids": [
"CWE-400",
"CWE-770"
]
}