gsd-2022-35915
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-35915", "description": "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.", "id": "GSD-2022-35915" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-35915" ], "details": "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.", "id": "GSD-2022-35915", "modified": "2023-12-13T01:19:33.648049Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-35915", "STATE": "PUBLIC", "TITLE": "Unbounded gas consumption in @openzeppelin/contracts" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "openzeppelin-contracts", "version": { "version_data": [ { "version_value": "\u003e=2.0.0 \u003c 4.7.2" } ] } } ] }, "vendor_name": "OpenZeppelin" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-400: Uncontrolled Resource Consumption" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x", "refsource": "CONFIRM", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" }, { "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "refsource": "MISC", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587" } ] }, "source": { "advisory": "GHSA-7grf-83vw-6f5x", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=3.2.0 \u003c4.7.2", "affected_versions": "All versions starting from 3.2.0 before 4.7.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "cwe_ids": [ "CWE-1035", "CWE-400", "CWE-937" ], "date": "2022-08-14", "description": "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.", "fixed_versions": [ "4.7.2" ], "identifier": "CVE-2022-35915", "identifiers": [ "GHSA-7grf-83vw-6f5x", "CVE-2022-35915" ], "not_impacted": "All versions before 3.2.0, all versions starting from 4.7.2", "package_slug": "npm/@openzeppelin/contracts-upgradeable", "pubdate": "2022-08-14", "solution": "Upgrade to version 4.7.2 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x", "https://nvd.nist.gov/vuln/detail/CVE-2022-35915", "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.7.2", "https://github.com/advisories/GHSA-7grf-83vw-6f5x" ], "uuid": "4b6c0927-13da-4e25-8d6b-cf04ee87e0c5" }, { "affected_range": "\u003e=2.0.0 \u003c4.7.2", "affected_versions": "All versions starting from 2.0.0 before 4.7.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "cwe_ids": [ "CWE-1035", "CWE-770", "CWE-937" ], "date": "2023-07-21", "description": "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.", "fixed_versions": [ "4.7.2" ], "identifier": "CVE-2022-35915", "identifiers": [ "CVE-2022-35915", "GHSA-7grf-83vw-6f5x" ], "not_impacted": "All versions before 2.0.0, all versions starting from 4.7.2", "package_slug": "npm/@openzeppelin/contracts", "pubdate": "2022-08-01", "solution": "Upgrade to version 4.7.2 or above.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-35915", "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" ], "uuid": "440ca636-7214-4167-a30c-0dc748751a19" }, { "affected_range": "\u003e=2.0.0", "affected_versions": "All versions starting from 2.0.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "cwe_ids": [ "CWE-1035", "CWE-770", "CWE-937" ], "date": "2023-07-21", "description": "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.", "fixed_versions": [], "identifier": "CVE-2022-35915", "identifiers": [ "CVE-2022-35915", "GHSA-7grf-83vw-6f5x" ], "not_impacted": "", "package_slug": "npm/openzeppelin-eth", "pubdate": "2022-08-01", "solution": "Unfortunately, there is no solution available yet.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-35915", "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" ], "uuid": "30313d82-1cf1-41ab-88fc-e42accd237ec" }, { "affected_range": "\u003e=2.0.0", "affected_versions": "All versions starting from 2.0.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "cwe_ids": [ "CWE-1035", "CWE-770", "CWE-937" ], "date": "2023-07-21", "description": "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.", "fixed_versions": [], "identifier": "CVE-2022-35915", "identifiers": [ "CVE-2022-35915", "GHSA-7grf-83vw-6f5x" ], "not_impacted": "", "package_slug": "npm/openzeppelin-solidity", "pubdate": "2022-08-01", "solution": "Unfortunately, there is no solution available yet.", "title": "Uncontrolled Resource Consumption", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-35915", "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" ], "uuid": "bb45cc8c-c423-45ae-a3c6-3ddbfb7869e3" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:openzeppelin:openzeppelin-solidity:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionStartIncluding": "2.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.7.2", "versionStartIncluding": "2.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:openzeppelin:openzeppelin-eth:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionStartIncluding": "2.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "4.7.2", "versionStartIncluding": "3.2.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-35915" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-770" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587" }, { "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 1.4 } }, "lastModifiedDate": "2023-07-21T20:48Z", "publishedDate": "2022-08-01T21:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…