Improper Access Control Affecting node package, versions [16.0.0,16.20.2) [18.0.0,18.17.1) [20.0.0,20.5.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.07% (29th percentile)
Expand this section
NVD
8.8 high
Expand this section
SUSE
5.6 medium
Expand this section
Red Hat
7.1 high

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-UPSTREAM-NODE-5843454
  • published 16 Aug 2023
  • disclosed 15 Aug 2023
  • credit Axel Chong

How to fix?

Upgrade node to version 16.20.2, 18.17.1, 20.5.1 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Improper Access Control through the usage of module.constructor.createRequire(), which allows an attacker to bypass the policy mechanism and require modules outside of the policy.json definition for a given module.

Note: This vulnerability affects all users using the experimental policy mechanism.

References