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.7.tgz: 4 vulnerabilities (highest severity is: 10.0) #1726

Closed
mend-bolt-for-github bot opened this issue Oct 25, 2024 · 0 comments · Fixed by #1728
Closed

kleros-sdk-2.1.7.tgz: 4 vulnerabilities (highest severity is: 10.0) #1726

mend-bolt-for-github bot opened this issue Oct 25, 2024 · 0 comments · Fixed by #1728
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 Oct 25, 2024

Vulnerable Library - kleros-sdk-2.1.7.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (kleros-sdk version) Remediation Possible**
CVE-2024-47875 Critical 10.0 dompurify-2.4.7.tgz Transitive N/A*
CVE-2024-48930 High 7.5 secp256k1-4.0.3.tgz Transitive N/A*
CVE-2024-37890 High 7.5 ws-8.16.0.tgz Transitive N/A*
CVE-2024-45801 High 7.3 dompurify-2.4.7.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-47875

Vulnerable Library - dompurify-2.4.7.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.7.tgz (Root Library)
    • reality-eth-lib-3.2.30.tgz
      • isomorphic-dompurify-0.23.0.tgz
        • dompurify-2.4.7.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

Publish Date: 2024-10-11

URL: CVE-2024-47875

CVSS 3 Score Details (10.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2024-10-11

Fix Resolution: dompurify - 2.5.0,3.1.3

Step up your Open Source Security Game with Mend here

CVE-2024-48930

Vulnerable Library - secp256k1-4.0.3.tgz

This module provides native bindings to ecdsa secp256k1 functions

Library home page: https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.7.tgz (Root Library)
    • reality-eth-lib-3.2.30.tgz
      • ethereumjs-abi-0.6.8.tgz
        • ethereumjs-util-6.2.1.tgz
          • ethereum-cryptography-0.1.3.tgz
            • secp256k1-4.0.3.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

secp256k1-node is a Node.js binding for an Optimized C library for EC operations on curve secp256k1. In elliptic-based version, loadUncompressedPublicKey has a check that the public key is on the curve. Prior to versions 5.0.1, 4.0.4, and 3.8.1, however, loadCompressedPublicKey is missing that check. That allows the attacker to use public keys on low-cardinality curves to extract enough information to fully restore the private key from as little as 11 ECDH sessions, and very cheaply on compute power. Other operations on public keys are also affected, including e.g. publicKeyVerify() incorrectly returning true on those invalid keys, and e.g. publicKeyTweakMul() also returning predictable outcomes allowing to restore the tweak. Versions 5.0.1, 4.0.4, and 3.8.1 contain a fix for the issue.

Publish Date: 2024-10-21

URL: CVE-2024-48930

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-584q-6j8j-r5pm

Release Date: 2024-10-21

Fix Resolution: secp256k1 - 3.8.1,4.0.4,5.0.1

Step up your Open Source Security Game with Mend here

CVE-2024-37890

Vulnerable Library - ws-8.16.0.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.7.tgz (Root Library)
    • reality-eth-lib-3.2.30.tgz
      • isomorphic-dompurify-0.23.0.tgz
        • jsdom-20.0.3.tgz
          • ws-8.16.0.tgz (Vulnerable Library)

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 [email protected] (e55e510) and backported to [email protected] (22c2876), [email protected] (eeb76d3), and [email protected] (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

CVE-2024-45801

Vulnerable Library - dompurify-2.4.7.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • kleros-sdk-2.1.7.tgz (Root Library)
    • reality-eth-lib-3.2.30.tgz
      • isomorphic-dompurify-0.23.0.tgz
        • dompurify-2.4.7.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-09-16

URL: CVE-2024-45801

CVSS 3 Score Details (7.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-mmhx-hmjr-r674

Release Date: 2024-09-16

Fix Resolution: domPurify - 2.5.4,3.1.3

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 Oct 25, 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

Successfully merging a pull request may close this issue.

1 participant