CVE & CISA-KEV Catalog

CVE-2024-21890

MEDIUM
6.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
nodejsRocky
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.src::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.src::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
nodejsRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.src::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.src::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
nodejs-debuginfoRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
nodejs-debuginfoRocky
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
nodejs-debugsourceRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
nodejs-debugsourceRocky
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
nodejs-develRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
nodejs-develRocky
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
nodejs-docsRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.noarch::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.noarch::nodejs:20RHSA-2024:1687
nodejs-docsRocky
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.noarch::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.noarch::nodejs:20RHSA-2024:1688
nodejs-full-i18nRocky
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
nodejs-full-i18nRed Hat / RHEL
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
nodejs-nodemonRed Hat / RHEL
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2024:1687
Fixed in:0:3.0.1-1.module+el9.3.0.z+20478+84a9f781.src::nodejs:20RHSA-2024:1688
Fixed in:0:3.0.1-1.module+el9.3.0.z+20478+84a9f781.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2024:1687
nodejs-nodemonRocky
Fixed in:0:3.0.1-1.module+el9.3.0.z+20478+84a9f781.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:3.0.1-1.module+el9.3.0.z+20478+84a9f781.src::nodejs:20RHSA-2024:1688
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.src::nodejs:20RHSA-2024:1687
Fixed in:0:3.0.1-1.module+el8.9.0+20473+c4e3d824.noarch::nodejs:20RHSA-2024:1687
nodejs-packagingRed Hat / RHEL
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.src::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2024:1687
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.src::nodejs:20RHSA-2024:1687
nodejs-packagingRocky
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.src::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2024:1687
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.src::nodejs:20RHSA-2024:1687
nodejs-packaging-bundlerRocky
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2024:1687
nodejs-packaging-bundlerRed Hat / RHEL
Fixed in:0:2021.06-4.module+el9.3.0+19518+63aad52d.noarch::nodejs:20RHSA-2024:1688
Fixed in:0:2021.06-4.module+el8.9.0+19519+e25b965a.noarch::nodejs:20RHSA-2024:1687
npmRed Hat / RHEL
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
npmRocky
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.x86_64::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.aarch64::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.ppc64le::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.x86_64::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.ppc64le::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667.s390x::nodejs:20RHSA-2024:1687
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.s390x::nodejs:20RHSA-2024:1688
Fixed in:1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a.aarch64::nodejs:20RHSA-2024:1688
Node.jsWindows application
Affected:21.0.0 21.6.2Fixed in:21.6.2Node.js Foundation
Affected:20.0.0 20.11.1Fixed in:20.11.1Node.js Foundation
Node.js (LTS)Windows application
Affected:20.0.0 20.11.1Fixed in:20.11.1Node.js Foundation
Affected:21.0.0 21.6.2Fixed in:21.6.2Node.js Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploit Intelligence

0.95%probability of exploitation in 30 days
57thpercentile

Moderate risk: more likely to be exploited than 57% of all known CVEs.

References

Embed a live status badge for CVE-2024-21890
CVE-2024-21890 severity badge

Markdown

[![CVE-2024-21890](https://tridentstack.com/cve/badge/CVE-2024-21890.svg)](https://tridentstack.com/cve/CVE-2024-21890)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-21890"><img src="https://tridentstack.com/cve/badge/CVE-2024-21890.svg" alt="CVE-2024-21890"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-12.