Arbitrary Code Execution Affecting import-in-the-middle package, versions <1.4.2


Severity

0.0
high
0
10

    Threat Intelligence

    EPSS
    0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-IMPORTINTHEMIDDLE-5826054
  • published 8 Aug 2023
  • disclosed 7 Aug 2023
  • credit Unknown

How to fix?

Upgrade import-in-the-middle to version 1.4.2 or higher.

Overview

import-in-the-middle is an Intercept imports in Node.js

Affected versions of this package are vulnerable to Arbitrary Code Execution via the import-in-the-middle loader. An attacker can execute remote code if an application passes user-supplied input directly to an import() function.

References

CVSS Scores

version 3.1
Expand this section

Snyk

8.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

9.8 critical