Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-21890

Опубликовано: 19 фев. 2024
Источник: redhat
CVSS3: 5
EPSS Низкий

Описание

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.

A flaw was found in the Node.js Permission Model, where it is not clarified in the documentation that wildcards should only be 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 active release lines 20.x and 21.x.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 8nodejs:16/nodejsNot affected
Red Hat Enterprise Linux 8nodejs:18/nodejsNot affected
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs:18/nodejsNot affected
Red Hat Enterprise Linux 8nodejsFixedRHSA-2024:168708.04.2024
Red Hat Enterprise Linux 9nodejsFixedRHSA-2024:168808.04.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-1059
https://bugzilla.redhat.com/show_bug.cgi?id=2265722nodejs: improper handling of wildcards in --allow-fs-read and --allow-fs-write

EPSS

Процентиль: 58%
0.00378
Низкий

5 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.5
ubuntu
больше 1 года назад

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.

CVSS3: 6.5
nvd
больше 1 года назад

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.

CVSS3: 6.5
msrc
12 месяцев назад

Описание отсутствует

CVSS3: 6.5
debian
больше 1 года назад

The Node.js Permission Model does not clarify in the documentation tha ...

CVSS3: 5
github
больше 1 года назад

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

Процентиль: 58%
0.00378
Низкий

5 Medium

CVSS3