CVE-2024-21890
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 exampl...
Original description
The description as published by the source.
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.
Affected packages
Bitnami
node-min
[{"type":"SEMVER","events":[{"introduced":"20.0.0"},{"fixed":"20.11.1"},{"introduced":"21.0.0"},{"fixed":"21.6.2"}]}]
Bitnami
node
[{"type":"SEMVER","events":[{"introduced":"20.0.0"},{"fixed":"20.11.1"},{"introduced":"21.0.0"},{"fixed":"21.6.2"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Ubuntu UBUNTU-CVE-2024-21890 nodejs
References
- advisory security.netapp.com
- advisory nvd.nist.gov
- advisory github.com
- web openwall.com
- web hackerone.com
- web github.com
- web github.com