CVE Vulnerabilities

CVE-2024-21890

Published: Feb 20, 2024 | Modified: May 01, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Ubuntu
MEDIUM

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:

1
 --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.

Affected Software

Name Vendor Start Version End Version
Nodejs Ubuntu bionic *
Nodejs Ubuntu devel *
Nodejs Ubuntu mantic *
Nodejs Ubuntu oracular *
Nodejs Ubuntu trusty *
Nodejs Ubuntu xenial *
Red Hat Enterprise Linux 8 RedHat nodejs:20-8090020240228165436.a75119d5 *
Red Hat Enterprise Linux 9 RedHat nodejs:20-9030020240229115828.rhel9 *

References