CVE-2024-21890 Affecting npm package, versions <1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1


Severity

Recommended
high

Based on Oracle Linux security rating

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-ORACLE8-NPM-6593887
  • published 10 Apr 2024
  • disclosed 20 Feb 2024

How to fix?

Upgrade Oracle:8 npm to version 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 or higher.
This issue was patched in ELSA-2024-1687.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm package and not the npm package as distributed by Oracle. See How to fix? for Oracle:8 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
Expand this section

Red Hat

5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

SUSE

7.8 high