CVE-2022-31170 affects OpenZeppelin Contracts versions 4.0.0 through 4.7.1, where the ERC165Checker.supportsInterface function can revert instead of returning false due to an incorrect assumption about Solidity 0.8's abi.decode. This flaw occurs when a target contract doesn't implement EIP-165 as expected, specifically if it returns a value other than 0 or 1, potentially disrupting contracts that rely on this check. The vulnerability has a CVSS score of 7.5 (High), indicating a network-based attack with low complexity that could lead to high integrity impact, though no confidentiality or availability impact. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 4.0.0, < 4.7.1CPE matchmatch criteria | cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.