CVE-2024-21890 Affecting nodejs-nodemon package, versions <0:3.0.1-1.module+el9.3.0+90066+12d4a8d7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-ORACLE9-NODEJSNODEMON-6593926
  • published10 Apr 2024
  • disclosed20 Feb 2024

Introduced: 20 Feb 2024

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

How to fix?

Upgrade Oracle:9 nodejs-nodemon to version 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 or higher.
This issue was patched in ELSA-2024-1688.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-nodemon package and not the nodejs-nodemon package as distributed by Oracle. See How to fix? for Oracle:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1