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

gateway-4.0.1.tgz: 1 vulnerabilities (highest severity is: 6.8) #603

Open
mend-bolt-for-github bot opened this issue Jan 22, 2025 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - gateway-4.0.1.tgz

Path to dependency file: /federation-v1/gateways/mercurius/package.json

Path to vulnerable library: /federation-v1/gateways/mercurius/package.json

Found in HEAD commit: 69cf178c1218c5e6448fcfa9f3bfdb96d2dc865e

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (gateway version) Remediation Possible**
CVE-2025-22150 Medium 6.8 undici-6.21.0.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-2025-22150

Vulnerable Library - undici-6.21.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

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

Path to dependency file: /federation-v1/gateways/mercurius/package.json

Path to vulnerable library: /federation-v1/gateways/mercurius/package.json

Dependency Hierarchy:

  • gateway-4.0.1.tgz (Root Library)
    • mercurius-15.1.0.tgz
      • undici-6.21.0.tgz (Vulnerable Library)

Found in HEAD commit: 69cf178c1218c5e6448fcfa9f3bfdb96d2dc865e

Found in base branch: main

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

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jan 22, 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants