Wind River Support Network

HomeDefectsLIN1019-10956
Fixed

LIN1019-10956 : Security Advisory - nodejs - CVE-2024-21890

Created: Feb 18, 2024    Updated: Feb 22, 2024
Resolved Date: Feb 20, 2024
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

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.

https://nvd.nist.gov/vuln/detail/CVE-2024-21890
Live chat
Online