UBUNTU-CVE-2024-21890

Source
https://ubuntu.com/security/CVE-2024-21890
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21890.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-21890
Upstream
Published
2024-02-20T02:15:00Z
Modified
2025-07-14T07:01:56.656828Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:25.04 / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs@20.18.1+dfsg-1ubuntu2?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*

20.16.0+dfsg-1ubuntu1
20.17.0+dfsg-2ubuntu1
20.18.0+dfsg-2
20.18.1+dfsg-1ubuntu1
20.18.1+dfsg-1ubuntu2