Vulnerability in Nodejs Node

CVE-2024-21890

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.

EPSS: 0.009 (57.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-21890?
CVE-2024-21890 is a medium-severity vulnerability in Nodejs Node. CVSS score: 6.5/10. Published 2024-02-20.
How severe is CVE-2024-21890?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2024-21890 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.