Skip to content

orval-6.17.0.tgz: 7 vulnerabilities (highest severity is: 9.8) #152

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - orval-6.17.0.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/jsonpath-plus/package.json

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (orval version) Remediation Possible**
CVE-2025-1302 Critical 9.8 detected in multiple dependencies Transitive N/A*
CVE-2024-21534 Critical 9.8 detected in multiple dependencies Transitive N/A*
CVE-2024-4068 High 7.5 braces-3.0.2.tgz Transitive N/A*
CVE-2024-21538 High 7.5 cross-spawn-7.0.3.tgz Transitive N/A*
CVE-2024-47068 Medium 6.1 rollup-2.79.1.tgz Transitive 6.18.0
CVE-2024-4067 Medium 5.3 micromatch-4.0.5.tgz Transitive 6.18.0
CVE-2025-5889 Low 3.1 brace-expansion-1.1.11.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-1302

Vulnerable Libraries - jsonpath-plus-6.0.1.tgz, jsonpath-plus-7.1.0.tgz

jsonpath-plus-6.0.1.tgz

A JS implementation of JSONPath with some additional operators

Library home page: https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/nimma/node_modules/jsonpath-plus/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-core-1.18.3.tgz
          • nimma-0.2.2.tgz
            • jsonpath-plus-6.0.1.tgz (Vulnerable Library)

jsonpath-plus-7.1.0.tgz

A JS implementation of JSONPath with some additional operators

Library home page: https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/jsonpath-plus/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-core-1.18.3.tgz
          • jsonpath-plus-7.1.0.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

Versions of the package jsonpath-plus before 10.3.0 are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of eval='safe' mode.
Note:
This is caused by an incomplete fix for "CVE-2024-21534" (https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884).

Publish Date: 2025-02-15

URL: CVE-2025-1302

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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

Release Date: 2025-02-15

Fix Resolution: jsonpath-plus - 10.3.0

Step up your Open Source Security Game with Mend here

CVE-2024-21534

Vulnerable Libraries - jsonpath-plus-7.1.0.tgz, jsonpath-plus-6.0.1.tgz

jsonpath-plus-7.1.0.tgz

A JS implementation of JSONPath with some additional operators

Library home page: https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/jsonpath-plus/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-core-1.18.3.tgz
          • jsonpath-plus-7.1.0.tgz (Vulnerable Library)

jsonpath-plus-6.0.1.tgz

A JS implementation of JSONPath with some additional operators

Library home page: https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/nimma/node_modules/jsonpath-plus/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-core-1.18.3.tgz
          • nimma-0.2.2.tgz
            • jsonpath-plus-6.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

All versions of the package jsonpath-plus are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of vm in Node. Note: There were several attempts to fix it in versions 10.0.0-10.1.0 but it could still be exploited using different payloads.

Publish Date: 2024-10-11

URL: CVE-2024-21534

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

Release Date: 2024-10-11

Fix Resolution: jsonpath-plus - 10.2.0

Step up your Open Source Security Game with Mend here

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: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/braces/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • chokidar-3.5.3.tgz
      • braces-3.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

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

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: 2024-05-13

Fix Resolution: braces - 3.0.3

Step up your Open Source Security Game with Mend here

CVE-2024-21538

Vulnerable Library - cross-spawn-7.0.3.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/cross-spawn/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • execa-5.1.1.tgz
      • cross-spawn-7.0.3.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

Versions of the package cross-spawn before 6.0.6, from 7.0.0 and before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Publish Date: 2024-11-08

URL: CVE-2024-21538

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://nvd.nist.gov/vuln/detail/CVE-2024-21538

Release Date: 2024-11-08

Fix Resolution: org.webjars.npm:cross-spawn:7.0.5

Step up your Open Source Security Game with Mend here

CVE-2024-47068

Vulnerable Library - rollup-2.79.1.tgz

Next-generation ES module bundler

Library home page: https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/rollup/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-cli-6.11.0.tgz
          • spectral-ruleset-bundler-1.5.2.tgz
            • rollup-2.79.1.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

Rollup is a module bundler for JavaScript. Versions prior to 3.29.5 and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from import.meta (e.g., import.meta.url) in cjs/umd/iife format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present. Versions 3.29.5 and 4.22.4 contain a patch for the vulnerability.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2024-09-23

URL: CVE-2024-47068

CVSS 3 Score Details (6.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-gcx4-mw62-g8wm

Release Date: 2024-09-23

Fix Resolution (rollup): 2.79.2

Direct dependency fix Resolution (orval): 6.18.0

Step up your Open Source Security Game with Mend here

CVE-2024-4067

Vulnerable Library - micromatch-4.0.5.tgz

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

Library home page: https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/micromatch/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • micromatch-4.0.5.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

The NPM package "micromatch" prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in "micromatch.braces()" in "index.js" because the pattern ".*" will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching. This issue was fixed in version 4.0.8. After conducting a further research, it was concluded that CVE-2024-4067 should not reflect the security risk score in NVD, but will be kept for users' awareness.

Publish Date: 2024-05-13

URL: CVE-2024-4067

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-05-13

Fix Resolution (micromatch): 4.0.8

Direct dependency fix Resolution (orval): 6.18.0

Step up your Open Source Security Game with Mend here

CVE-2025-5889

Vulnerable Library - brace-expansion-1.1.11.tgz

Brace expansion as known from sh/bash

Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz

Path to dependency file: /front/app/package.json

Path to vulnerable library: /front/app/node_modules/brace-expansion/package.json

Dependency Hierarchy:

  • orval-6.17.0.tgz (Root Library)
    • core-6.17.0.tgz
      • ibm-openapi-validator-0.97.5.tgz
        • spectral-core-1.18.3.tgz
          • minimatch-3.1.2.tgz
            • brace-expansion-1.1.11.tgz (Vulnerable Library)

Found in HEAD commit: 95324844e8221abe0463568f59eb12746be5550d

Found in base branch: master

Vulnerability Details

A vulnerability was found in juliangruber brace-expansion up to 1.1.11. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to apply a patch to fix this issue.

Publish Date: 2025-06-09

URL: CVE-2025-5889

CVSS 3 Score Details (3.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions