CVE-2024-21890

medium

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.

References

https://www.cisa.gov/news-events/ics-advisories/icsa-24-319-08

https://security.netapp.com/advisory/ntap-20240315-0002/

https://hackerone.com/reports/2257156

http://www.openwall.com/lists/oss-security/2024/03/11/1

Details

Source: Mitre, NVD

Published: 2024-02-20

Updated: 2024-05-01

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium