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

grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable #799

Open
mend-for-github-com bot opened this issue Jun 6, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jun 6, 2022

Vulnerable Library - grunt-contrib-connect-3.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/serve-static/package.json

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (grunt-contrib-connect version) Remediation Possible** Reachability
CVE-2024-43800 Medium 5.0 Not Defined 0.1% serve-static-1.14.1.tgz Transitive N/A*

Reachable

CVE-2021-43138 High 7.8 Not Defined 0.2% async-3.2.0.tgz Transitive 4.0.0

Unreachable

CVE-2024-37890 High 7.5 Not Defined 0.0% ws-3.3.3.tgz Transitive N/A*

Unreachable

*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-43800

Vulnerable Library - serve-static-1.14.1.tgz

Serve static files

Library home page: https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/serve-static/package.json

Dependency Hierarchy:

  • grunt-contrib-connect-3.0.0.tgz (Root Library)
    • serve-static-1.14.1.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branch: develop

Reachability Analysis

This vulnerability is potentially reachable

opentok-rtc-5.0.1/server.js (Application)
  -> swagger-boilerplate-0.1.8/index.js (Extension)
   -> swagger-boilerplate-0.1.8/lib/app.js (Extension)
    -> express-4.17.1/index.js (Extension)
     -> express-4.17.1/lib/express.js (Extension)
      -> ❌ serve-static-1.14.1/index.js (Vulnerable Component)

Vulnerability Details

serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.

Publish Date: 2024-09-10

URL: CVE-2024-43800

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (5.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • 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-cm22-4g7w-348p

Release Date: 2024-09-10

Fix Resolution: serve-static - 1.16.0,2.1.0

CVE-2021-43138

Vulnerable Library - async-3.2.0.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-3.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/grunt-contrib-connect/node_modules/async/package.json

Dependency Hierarchy:

  • grunt-contrib-connect-3.0.0.tgz (Root Library)
    • async-3.2.0.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the mapValues() method, aka lib/internal/iterator.js createObjectIterator prototype pollution.

Publish Date: 2022-04-06

URL: CVE-2021-43138

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

CVSS 3 Score Details (7.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2021-43138

Release Date: 2022-04-06

Fix Resolution (async): 3.2.2

Direct dependency fix Resolution (grunt-contrib-connect): 4.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-37890

Vulnerable Library - ws-3.3.3.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-3.3.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ws/package.json

Dependency Hierarchy:

  • grunt-contrib-connect-3.0.0.tgz (Root Library)
    • node-http2-4.0.1.tgz
      • websocket-stream-5.5.2.tgz
        • ws-3.3.3.tgz (Vulnerable Library)

Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907

Found in base branches: develop, master

Reachability Analysis

The vulnerable code is unreachable

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

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


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 6, 2022
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 1 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 2 vulnerabilities (highest severity is: 7.8) Jun 19, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 2 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) Jul 3, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 2 vulnerabilities (highest severity is: 7.8) Jul 15, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 2 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable Nov 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) Nov 13, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable Nov 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) Nov 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) grunt-contrib-connect-3.0.0.tgz: 3 vulnerabilities (highest severity is: 7.8) reachable Nov 21, 2024
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