{"id":"CVE-2024-21891","details":"Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack.\nThis vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.","aliases":["BIT-node-2024-21891","BIT-node-min-2024-21891"],"modified":"2026-04-02T09:49:06.118526Z","published":"2024-02-20T02:15:50.347Z","related":["ALSA-2024:1687","ALSA-2024:1688","SUSE-SU-2024:0643-1","openSUSE-SU-2024:13697-1","openSUSE-SU-2024:13698-1"],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2024/03/11/1"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240315-0005/"},{"type":"REPORT","url":"https://hackerone.com/reports/2259914"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nodejs/node","events":[{"introduced":"e7618fb5a5fc25d76b6474e2a6607f04fd6f10e0"},{"fixed":"9b1bf44ea9e7785e38c93b7d22d32dbca262df6c"},{"introduced":"38d0e69347de4db532a3bb6bddf51ead9ff764f8"},{"fixed":"3eccdd1ae61777a381a7ac3bc0ea62443dbb50b8"}],"database_specific":{"versions":[{"introduced":"20.0.0"},{"fixed":"20.11.1"},{"introduced":"21.0.0"},{"fixed":"21.6.2"}]}}],"versions":["v20.0.0","v20.1.0","v20.10.0","v20.11.0","v20.2.0","v20.3.0","v20.3.1","v20.4.0","v20.5.0","v20.5.1","v20.6.0","v20.6.1","v20.7.0","v20.8.0","v20.8.1","v20.9.0","v21.0.0","v21.1.0","v21.2.0","v21.3.0","v21.4.0","v21.5.0","v21.6.0","v21.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21891.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}