Live threats

All CVEs / Nodejs

CVE-2024-21890Nodejs Node.js

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Feb 20, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 20.0.0 < 20.11.1
nodejsnode.js≥ 21.0.0 < 21.6.2

Official sources

References

Links published by the sources. Open them with care.