{"vulnerability": "CVE-2022-31170", "sightings": [{"uuid": "decd7527-6b45-4788-9af5-9d27f4177d00", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-31170", "type": "published-proof-of-concept", "source": "https://t.me/DarkWebInformer_CVEAlerts/13099", "content": "\ud83d\udd17 DarkWebInformer.com - Cyber Threat Intelligence\n\ud83d\udccc CVE ID: CVE-2022-31170\n\ud83d\udd25 CVSS Score: 7.5 (cvssV3_1, Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)\n\ud83d\udd39 Description: OpenZeppelin Contracts is a library for smart contract development. Versions 4.0.0 until 4.7.1 are vulnerable to ERC165Checker reverting instead of returning `false`. `ERC165Checker.supportsInterface` is designed to always successfully return a boolean, and under no circumstance revert. However, an incorrect assumption about Solidity 0.8's `abi.decode` allows some cases to revert, given a target contract that doesn't implement EIP-165 as expected, specifically if it returns a value other than 0 or 1. The contracts that may be affected are those that use `ERC165Checker` to check for support for an interface and then handle the lack of support in a way other than reverting. The issue was patched in version 4.7.1.\n\ud83d\udccf Published: 2022-07-21T14:00:18.000Z\n\ud83d\udccf Modified: 2025-04-23T17:57:25.929Z\n\ud83d\udd17 References:\n1. https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3552\n2. https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-qh9x-gcfh-pcrw", "creation_timestamp": "2025-04-23T18:05:38.000000Z"}]}