Skip to content
Connect AISign inSign up free
CVE-2023-387048.1HighCWE-20

CVE-2023-38704: import-in-the-middle allows unsanitized user controlled input in module generation

DataDog · import-in-the-middle

Affected: DataDog import-in-the-middle · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.0%probability of exploitation in the next 30 days
63rd percentile
050100

Higher than 63% of scored CVEs

8.1HighCVSS 3.1
LowHigh

DescriptionCVE.org

import-in-the-middle is a module loading interceptor specifically for ESM modules. The import-in-the-middle loader works by generating a wrapper module on the fly. The wrapper uses the module specifier to load the original module and add some wrapping code. Prior to version 1.4.2, it allows for remote code execution in cases where an application passes user-supplied input directly to the `import()` function. This vulnerability has been patched in import-in-the-middle version 1.4.2. Some workarounds are available. Do not pass any user-supplied input to `import()`. Instead, verify it against a set of allowed values. If using import-in-the-middle, directly or indirectly, and support for EcmaScript Modules is not needed, ensure that no options are set, either via command-line or the `NODE_OPTIONS` environment variable, that would enable loader hooks.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • DataDog · import-in-the-middle< 1.4.2

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
DataDog
Published
August 2023

CoverageNo articles yet

No CyberSIXT article names CVE-2023-38704 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References