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)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (16th 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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-NODE-5843454
  • published16 Aug 2023
  • disclosed15 Aug 2023
  • creditAxel Chong

Introduced: 15 Aug 2023

CVE-2023-32006  (opens in a new tab)
CWE-284  (opens in a new tab)

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

CVSS Base Scores

version 3.1