Vulnerabilities/

Unsanitized user controlled input in module generation

Severity:
High

Description

The import-in-the-middle loader used by @opentelemetry/instrumentation 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. It allows for remote code execution in cases where an application passes user-supplied input directly to an import() function.

Recommendation

Update the @opentelemetry/instrumentation package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@opentelemetry/instrumentation
Anything's wrong? Let us know Last updated on August 18, 2023

This issue is available in SmartScanner Professional

See Pricing