PT-2023-26569

CVE-2023-38704

·

تاريخ النشر

2023-08-07

·

تاريخ التحديث

2026-09-11

الوصف من

CVSS 3.1
8.1
عالية
المقاييسAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
Name of the Vulnerable Software and Affected Versions import-in-the-middle versions prior to 1.4.2
Description The import-in-the-middle loader works by generating a wrapper module on the fly, using the module specifier to load the original module and add some wrapping code. This allows for remote code execution in cases where an application passes user-supplied input directly to the import() function.
Recommendations For versions prior to 1.4.2, update to version 1.4.2 to resolve the issue. As a temporary workaround, do not pass any user-supplied input to import(). Instead, verify it against a set of allowed values. If using import-in-the-middle and support for EcmaScript Modules is not needed, ensure that none of the following options are set: --loader=import-in-the-middle/hook.mjs or --loader import-in-the-middle/hook.mjs, either via command-line or the NODE OPTIONS environment variable.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-5R27-RW8R-7967
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾