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

kleros-sdk-2.1.8.tgz: 4 vulnerabilities (highest severity is: 9.1) #13

Open
mend-bolt-for-github bot opened this issue Nov 29, 2024 · 0 comments
Open
Assignees
Labels
dependencies Pull requests that update a dependency file Mend: dependency security vulnerability Security vulnerability detected by Mend Type: Security🛡️ Custom label for issues opened by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Nov 29, 2024

Vulnerable Library - kleros-sdk-2.1.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 9ae87edd1101b0d1d4b4bc9dce9980b2b97bdb67

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (kleros-sdk version) Remediation Possible**
CVE-2024-48949 Critical 9.1 elliptic-6.5.4.tgz Transitive N/A*
CVE-2024-37890 High 7.5 ws-7.4.6.tgz Transitive N/A*
WS-2024-0017 Medium 6.1 dompurify-2.5.7.tgz Transitive N/A*
CVE-2024-48948 Medium 4.8 elliptic-6.5.4.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-48949

Vulnerable Library - elliptic-6.5.4.tgz

EC cryptography

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.8.tgz (Root Library)
    • reality-eth-lib-3.2.45.tgz
      • contracts-3.0.61.tgz
        • ethers-5.7.2.tgz
          • signing-key-5.7.0.tgz
            • elliptic-6.5.4.tgz (Vulnerable Library)

Found in HEAD commit: 9ae87edd1101b0d1d4b4bc9dce9980b2b97bdb67

Found in base branch: dev

Vulnerability Details

The verify function in lib/elliptic/eddsa/index.js in the Elliptic package before 6.5.6 for Node.js omits "sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg()" validation.

Publish Date: 2024-10-10

URL: CVE-2024-48949

CVSS 3 Score Details (9.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-48949

Release Date: 2024-10-10

Fix Resolution: elliptic - 6.5.6

Step up your Open Source Security Game with Mend here

CVE-2024-37890

Vulnerable Library - ws-7.4.6.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-7.4.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.8.tgz (Root Library)
    • reality-eth-lib-3.2.45.tgz
      • contracts-3.0.61.tgz
        • ethers-5.7.2.tgz
          • providers-5.7.2.tgz
            • ws-7.4.6.tgz (Vulnerable Library)

Found in HEAD commit: 9ae87edd1101b0d1d4b4bc9dce9980b2b97bdb67

Found in base branch: dev

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Publish Date: 2024-06-17

URL: CVE-2024-37890

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: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-3h5v-q93c-6h6q

Release Date: 2024-06-17

Fix Resolution: ws - 5.2.4,6.2.3,7.5.10,8.17.1

Step up your Open Source Security Game with Mend here

WS-2024-0017

Vulnerable Library - dompurify-2.5.7.tgz

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin

Library home page: https://registry.npmjs.org/dompurify/-/dompurify-2.5.7.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.8.tgz (Root Library)
    • reality-eth-lib-3.2.45.tgz
      • isomorphic-dompurify-0.23.0.tgz
        • dompurify-2.5.7.tgz (Vulnerable Library)

Found in HEAD commit: 9ae87edd1101b0d1d4b4bc9dce9980b2b97bdb67

Found in base branch: dev

Vulnerability Details

Insufficient checks in DOMPurify allows an attacker to bypass sanitizers and execute arbitrary JavaScript code. This issue affects versions before 2.5.8 and 3.x before 3.2.3.

Publish Date: 2024-02-08

URL: WS-2024-0017

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-02-08

Fix Resolution: domPurify - 2.5.8,3.2.3

Step up your Open Source Security Game with Mend here

CVE-2024-48948

Vulnerable Library - elliptic-6.5.4.tgz

EC cryptography

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.8.tgz (Root Library)
    • reality-eth-lib-3.2.45.tgz
      • contracts-3.0.61.tgz
        • ethers-5.7.2.tgz
          • signing-key-5.7.0.tgz
            • elliptic-6.5.4.tgz (Vulnerable Library)

Found in HEAD commit: 9ae87edd1101b0d1d4b4bc9dce9980b2b97bdb67

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 (4.8)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: 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

@mend-bolt-for-github mend-bolt-for-github bot added dependencies Pull requests that update a dependency file Mend: dependency security vulnerability Security vulnerability detected by Mend Type: Security🛡️ Custom label for issues opened by WhiteSource labels Nov 29, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title kleros-sdk-2.1.8.tgz: 3 vulnerabilities (highest severity is: 9.1) kleros-sdk-2.1.8.tgz: 4 vulnerabilities (highest severity is: 9.1) Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Mend: dependency security vulnerability Security vulnerability detected by Mend Type: Security🛡️ Custom label for issues opened by WhiteSource
Projects
None yet
Development

No branches or pull requests

1 participant