Incomplete Documentation The advisory has been revoked - it doesn't affect any version of package nodejs:20/nodejs-packaging  (opens in a new tab)


Threat Intelligence

EPSS
0.95% (57th 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-RHEL9-NODEJS-9501380
  • published21 Mar 2025
  • disclosed19 Feb 2024

Introduced: 19 Feb 2024

CVE-2024-21890  (opens in a new tab)
CWE-1059  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-packaging package and not the nodejs:20/nodejs-packaging package as distributed by RHEL.

The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example:

 --allow-fs-read=/home/node/.ssh/*.pub

will ignore pub and give access to everything after .ssh/.

This misleading documentation affects all users using the experimental permission model in Node.js 20 and Node.js 21.

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