Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-35915 (Medium) detected in contracts-2.3.0.tgz #84

Open
mend-bolt-for-github bot opened this issue Aug 6, 2022 · 0 comments
Open

CVE-2022-35915 (Medium) detected in contracts-2.3.0.tgz #84

mend-bolt-for-github bot opened this issue Aug 6, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Aug 6, 2022

CVE-2022-35915 - Medium Severity Vulnerability

Vulnerable Library - contracts-2.3.0.tgz

Secure Smart Contract library for Solidity

Library home page: https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-2.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@openzeppelin/contracts/package.json

Dependency Hierarchy:

  • contracts-2.3.0.tgz (Vulnerable Library)

Found in HEAD commit: ea9beea8510bd0f6f326f7fe877ed96f0d762795

Vulnerability 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.

Publish Date: 2022-08-01

URL: CVE-2022-35915

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7grf-83vw-6f5x

Release Date: 2022-08-01

Fix Resolution: 4.7.2


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants