CVE-2023-30581 Affecting nodejs:16/nodejs-devel package, versions <1:16.20.2-2.module+el8.6.0+19897+9590a839


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (26th 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 IDSNYK-RHEL8-NODEJS-5920853
  • published6 Jul 2023
  • disclosed20 Jun 2023

Introduced: 20 Jun 2023

CVE-2023-30581  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:8 nodejs:16/nodejs-devel to version 1:16.20.2-2.module+el8.6.0+19897+9590a839 or higher.
This issue was patched in RHSA-2023:5361.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:16/nodejs-devel package and not the nodejs:16/nodejs-devel package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

The use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.

Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js

CVSS Scores

version 3.1