kleros-v2 icon indicating copy to clipboard operation
kleros-v2 copied to clipboard

kleros-v2-contracts-0.1.1.tgz: 1 vulnerabilities (highest severity is: 6.5)

Open mend-bolt-for-github[bot] opened this issue 2 years ago • 4 comments

Vulnerable Library - kleros-v2-contracts-0.1.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (kleros-v2-contracts version) Remediation Possible**
CVE-2024-27094 Medium 6.5 contracts-4.9.3.tgz Transitive 0.3.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-27094

Vulnerable Library - contracts-4.9.3.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-v2-contracts-0.1.1.tgz (Root Library)
    • vea-contracts-0.3.2.tgz
      • :x: contracts-4.9.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

OpenZeppelin Contracts is a library for secure smart contract development. The Base64.encode function encodes a bytes input by iterating over it in chunks of 3 bytes. When this input is not a multiple of 3, the last iteration may read parts of the memory that are beyond the input buffer. The vulnerability is fixed in 5.0.2 and 4.9.6.

Publish Date: 2024-02-29

URL: CVE-2024-27094

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-02-29

Fix Resolution (@openzeppelin/contracts): 4.9.6

Direct dependency fix Resolution (@kleros/kleros-v2-contracts): 0.3.1

Step up your Open Source Security Game with Mend here

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.