CVE-2023-30581 Affecting nodejs:16/nodejs-nodemon package, versions <0:2.0.20-3.module_el8.8.0+3586+d4fc0b72


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.07% (32nd 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-ALMALINUX8-NODEJS-5836219
  • published2 Aug 2023
  • disclosed31 Jul 2023

Introduced: 31 Jul 2023

CVE-2023-30581  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 nodejs:16/nodejs-nodemon to version 0:2.0.20-3.module_el8.8.0+3586+d4fc0b72 or higher.
This issue was patched in ALSA-2023:4537.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:16/nodejs-nodemon package and not the nodejs:16/nodejs-nodemon package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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