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

@kleros/kleros-v2-web-devtools-0.1.0.tgz: 2 vulnerabilities (highest severity is: 7.5)

Open mend-bolt-for-github[bot] opened this issue 1 year ago • 0 comments

Vulnerable Library - @kleros/kleros-v2-web-devtools-0.1.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: a3f5416a71e1112e0fb8a2d29dc240c8665c7335

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (@kleros/kleros-v2-web-devtools version) Remediation Possible**
CVE-2024-48948 High 7.5 elliptic-6.5.7.tgz Transitive N/A*
CVE-2024-45047 Medium 5.4 svelte-4.2.9.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2024-48948

Vulnerable Library - elliptic-6.5.7.tgz

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • @kleros/kleros-v2-web-devtools-0.1.0.tgz (Root Library)
    • wagmi-5.1.11.tgz
      • utils-2.16.1.tgz
        • :x: elliptic-6.5.7.tgz (Vulnerable Library)

Found in HEAD commit: a3f5416a71e1112e0fb8a2d29dc240c8665c7335

Found in base branch: dev

Vulnerability Details

The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.

Publish Date: 2024-10-15

URL: CVE-2024-48948

CVSS 3 Score Details (7.5)

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: High
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-fc9h-whq2-v747

Release Date: 2024-10-28

Fix Resolution: elliptic - 6.6.0

Step up your Open Source Security Game with Mend here

CVE-2024-45047

Vulnerable Library - svelte-4.2.9.tgz

Library home page: https://registry.npmjs.org/svelte/-/svelte-4.2.9.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • @kleros/kleros-v2-web-devtools-0.1.0.tgz (Root Library)
    • vanilla-jsoneditor-0.21.4.tgz
      • :x: svelte-4.2.9.tgz (Vulnerable Library)

Found in HEAD commit: a3f5416a71e1112e0fb8a2d29dc240c8665c7335

Found in base branch: dev

Vulnerability Details

svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up to but not including 4.2.19. Svelte improperly escapes HTML on server-side rendering. The assumption is that attributes will always stay as such, but in some situation the final DOM tree rendered on browsers is different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks, and a type of the XSS is known as mXSS (mutation XSS). More specifically, this can occur when injecting malicious content into an attribute within a noscript tag. This issue has been addressed in release version 4.2.19. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-08-30

URL: CVE-2024-45047

CVSS 3 Score Details (5.4)

Base Score Metrics:

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

Suggested Fix

Type: Upgrade version

Origin: https://github.com/sveltejs/svelte/security/advisories/GHSA-8266-84wp-wv5c

Release Date: 2024-08-30

Fix Resolution: svelte - 4.2.19

Step up your Open Source Security Game with Mend here