CVE-2023-30581 Affecting nodejs-packaging package, versions <0:2021.06-4.module+el9.7.0+40022+9ecc286c


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.05% (60th 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-ROCKY9-NODEJSPACKAGING-22282439
  • published8 Nov 2026
  • disclosed23 Nov 2023

Introduced: 23 Nov 2023

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

How to fix?

Upgrade Rocky-Linux:9 nodejs-packaging to version 0:2021.06-4.module+el9.7.0+40022+9ecc286c or higher.
This issue was patched in RLSA-2023:4330.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-packaging package and not the nodejs-packaging package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 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 Base Scores

version 3.1