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

discord.js-14.14.1.tgz: 5 vulnerabilities (highest severity is: 7.5) - autoclosed #433

Closed
mend-for-github-com bot opened this issue Mar 17, 2024 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Mar 17, 2024

Vulnerable Library - discord.js-14.14.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (discord.js version) Remediation Possible**
CVE-2024-37890 High 7.5 detected in multiple dependencies Transitive 14.15.0
CVE-2025-22150 Medium 6.8 undici-5.27.2.tgz Transitive N/A*
CVE-2024-30260 Low 3.9 undici-5.27.2.tgz Transitive N/A*
CVE-2024-24758 Low 3.9 undici-5.27.2.tgz Transitive 14.15.0
CVE-2024-30261 Low 2.6 undici-5.27.2.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-37890

Vulnerable Libraries - ws-8.16.0.tgz, ws-8.14.2.tgz

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:

  • discord.js-14.14.1.tgz (Root Library)
    • ws-1.0.2.tgz
      • ws-8.16.0.tgz (Vulnerable Library)

ws-8.14.2.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • discord.js-14.14.1.tgz (Root Library)
    • ws-8.14.2.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 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): 8.17.1

Direct dependency fix Resolution (discord.js): 14.15.0

Fix Resolution (ws): 8.17.1

Direct dependency fix Resolution (discord.js): 14.15.0

In order to enable automatic remediation, please create workflow rules

CVE-2025-22150

Vulnerable Library - undici-5.27.2.tgz

Library home page: https://registry.npmjs.org/undici/-/undici-5.27.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • discord.js-14.14.1.tgz (Root Library)
    • undici-5.27.2.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses "Math.random()" to choose the boundary for a multipart/form-data request. It is known that the output of "Math.random()" can be predicted if several of its generated values are known. If there is a mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do not issue multipart requests to attacker controlled servers.

Publish Date: 2025-01-21

URL: CVE-2025-22150

CVSS 3 Score Details (6.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • 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: GHSA-c76h-2ccp-4975

Release Date: 2025-01-21

Fix Resolution: undici - 5.28.5,6.21.1,7.2.3

CVE-2024-30260

Vulnerable Library - undici-5.27.2.tgz

Library home page: https://registry.npmjs.org/undici/-/undici-5.27.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • discord.js-14.14.1.tgz (Root Library)
    • undici-5.27.2.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request(). This vulnerability was patched in version(s) 5.28.4 and 6.11.1.

Publish Date: 2024-04-04

URL: CVE-2024-30260

CVSS 3 Score Details (3.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: Required
    • 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-m4v8-wqvr-p9f7

Release Date: 2024-04-04

Fix Resolution: undici - 5.28.4,6.11.1

CVE-2024-24758

Vulnerable Library - undici-5.27.2.tgz

Library home page: https://registry.npmjs.org/undici/-/undici-5.27.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • discord.js-14.14.1.tgz (Root Library)
    • undici-5.27.2.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear Proxy-Authentication headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-02-16

URL: CVE-2024-24758

CVSS 3 Score Details (3.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: Required
    • 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: https://www.cve.org/CVERecord?id=CVE-2024-24758

Release Date: 2024-02-16

Fix Resolution (undici): 5.28.3

Direct dependency fix Resolution (discord.js): 14.15.0

In order to enable automatic remediation, please create workflow rules

CVE-2024-30261

Vulnerable Library - undici-5.27.2.tgz

Library home page: https://registry.npmjs.org/undici/-/undici-5.27.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • discord.js-14.14.1.tgz (Root Library)
    • undici-5.27.2.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the integrity option passed to fetch(), allowing fetch() to accept requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.

Publish Date: 2024-04-04

URL: CVE-2024-30261

CVSS 3 Score Details (2.6)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9qxr-qj54-h672

Release Date: 2024-04-04

Fix Resolution: undici - 5.28.4,6.11.1


In order to enable automatic remediation for this issue, please create workflow rules

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 17, 2024
@mend-for-github-com mend-for-github-com bot changed the title discord.js-14.14.1.tgz: 1 vulnerabilities (highest severity is: 3.9) discord.js-14.14.1.tgz: 3 vulnerabilities (highest severity is: 3.9) Apr 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title discord.js-14.14.1.tgz: 3 vulnerabilities (highest severity is: 3.9) discord.js-14.14.1.tgz: 4 vulnerabilities (highest severity is: 7.5) Jun 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title discord.js-14.14.1.tgz: 4 vulnerabilities (highest severity is: 7.5) discord.js-14.14.1.tgz: 5 vulnerabilities (highest severity is: 7.5) Jan 22, 2025
Copy link
Contributor Author

✔️ 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.

@mend-for-github-com mend-for-github-com bot changed the title discord.js-14.14.1.tgz: 5 vulnerabilities (highest severity is: 7.5) discord.js-14.14.1.tgz: 5 vulnerabilities (highest severity is: 7.5) - autoclosed Feb 12, 2025
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