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

jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) reachable #1

Open
mend-local-app bot opened this issue Feb 29, 2024 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-local-app
Copy link

mend-local-app bot commented Feb 29, 2024

Vulnerable Library - jest-circus-26.6.0.tgz

Path to dependency file: /achilles-frontend/package.json

Path to vulnerable library: /achilles-frontend/node_modules/decode-uri-component/package.json,/baak-vizualization/node_modules/decode-uri-component/package.json

Found in HEAD commit: 1b160425a037bb1aa0dbd00959701c56ad396a36

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jest-circus version) Remediation Possible** Reachability
CVE-2022-38900 High 7.5 decode-uri-component-0.2.0.tgz Transitive 26.6.1

Reachable

CVE-2022-3517 High 7.5 minimatch-3.0.4.tgz Transitive N/A*

Reachable

CVE-2022-24999 High 7.5 qs-6.5.2.tgz Transitive 26.6.1

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-2022-38900 (Reachable)

Vulnerable Library - decode-uri-component-0.2.0.tgz

Library home page: https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz

Path to dependency file: /achilles-frontend/package.json

Path to vulnerable library: /achilles-frontend/node_modules/decode-uri-component/package.json,/baak-vizualization/node_modules/decode-uri-component/package.json

Dependency Hierarchy:

  • jest-circus-26.6.0.tgz (Root Library)
    • jest-snapshot-26.6.2.tgz
      • jest-haste-map-26.6.2.tgz
        • sane-4.1.0.tgz
          • micromatch-3.1.10.tgz
            • snapdragon-0.8.2.tgz
              • source-map-resolve-0.5.3.tgz
                • decode-uri-component-0.2.0.tgz (Vulnerable Library)

Found in HEAD commit: 1b160425a037bb1aa0dbd00959701c56ad396a36

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

achilles-frontend-0.1.0/src/setupTests.js (Application)
  -> @testing-library/jest-dom-5.11.9/dist/index.js (Extension)
   -> @testing-library/jest-dom-5.11.9/dist/extend-expect.js (Extension)
    -> css-3.0.0/index.js (Extension)
    ...
      -> css-3.0.0/lib/stringify/source-map-support.js (Extension)
       -> source-map-resolve-0.6.0/index.js (Extension)
        -> ❌ decode-uri-component-0.2.0/index.js (Vulnerable Component)

Vulnerability Details

decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.

Publish Date: 2022-11-28

URL: CVE-2022-38900

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-w573-4hg7-7wgq

Release Date: 2022-11-28

Fix Resolution (decode-uri-component): 0.2.1

Direct dependency fix Resolution (jest-circus): 26.6.1

In order to enable automatic remediation, please create workflow rules

CVE-2022-3517 (Reachable)

Vulnerable Library - minimatch-3.0.4.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz

Path to dependency file: /baak-vizualization/package.json

Path to vulnerable library: /baak-vizualization/node_modules/minimatch/package.json,/achilles-frontend/node_modules/minimatch/package.json

Dependency Hierarchy:

  • jest-circus-26.6.0.tgz (Root Library)
    • jest-runner-26.6.3.tgz
      • jest-config-26.6.3.tgz
        • glob-7.1.6.tgz
          • minimatch-3.0.4.tgz (Vulnerable Library)

Found in HEAD commit: 1b160425a037bb1aa0dbd00959701c56ad396a36

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

try-d3-0.1.0/scripts/build.js (Application)
  -> react-dev-utils-12.0.1/FileSizeReporter.js (Extension)
   -> recursive-readdir-2.2.2/index.js (Extension)
    -> ❌ minimatch-3.0.4/minimatch.js (Vulnerable Component)

Vulnerability Details

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Publish Date: 2022-10-17

URL: CVE-2022-3517

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

Release Date: 2022-10-17

Fix Resolution: minimatch - 3.0.5

CVE-2022-24999 (Unreachable)

Vulnerable Library - qs-6.5.2.tgz

A querystring parser that supports nesting and arrays, with a depth limit

Library home page: https://registry.npmjs.org/qs/-/qs-6.5.2.tgz

Path to dependency file: /achilles-frontend/package.json

Path to vulnerable library: /achilles-frontend/node_modules/request/node_modules/qs/package.json

Dependency Hierarchy:

  • jest-circus-26.6.0.tgz (Root Library)
    • jest-runner-26.6.3.tgz
      • jest-config-26.6.3.tgz
        • jest-environment-jsdom-26.6.2.tgz
          • jsdom-16.5.1.tgz
            • request-2.88.2.tgz
              • qs-6.5.2.tgz (Vulnerable Library)

Found in HEAD commit: 1b160425a037bb1aa0dbd00959701c56ad396a36

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[proto]=b&a[proto]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4 (and therefore Express 4.17.3, which has "deps: [email protected]" in its release description, is not vulnerable).

Publish Date: 2022-11-27

URL: CVE-2022-24999

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: https://www.cve.org/CVERecord?id=CVE-2022-24999

Release Date: 2022-11-27

Fix Resolution (qs): 6.5.3

Direct dependency fix Resolution (jest-circus): 26.6.1

In order to enable automatic remediation, please create workflow rules


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

@mend-local-app mend-local-app bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Feb 29, 2024
@mend-local-app
Copy link
Author

mend-local-app bot commented Mar 2, 2024

✔️ 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-local-app mend-local-app bot changed the title jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) - autoclosed Mar 2, 2024
@mend-local-app mend-local-app bot closed this as completed Mar 2, 2024
@mend-local-app mend-local-app bot changed the title jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) - autoclosed jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) Mar 2, 2024
@mend-local-app mend-local-app bot reopened this Mar 2, 2024
@mend-local-app
Copy link
Author

mend-local-app bot commented Mar 2, 2024

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-local-app mend-local-app bot changed the title jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) jest-circus-26.6.0.tgz: 3 vulnerabilities (highest severity is: 7.5) reachable Mar 2, 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