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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35915.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": ">=2.0.0 < 4.7.2"
},
{
"last_affected": ">=2.0.0 < 4.7.2"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-400"
]
}{
"cpe": [
"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*",
"cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*"
],
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"fixed": "4.7.2"
},
{
"introduced": "3.2.0"
}
],
"source": "CPE_RANGE"
}