fs.openAsBlob() can bypass the experimental permission...
High severity
Unreviewed
Published
Sep 7, 2024
to the GitHub Advisory Database
•
Updated Sep 9, 2024
Description
Published by the National Vulnerability Database
Sep 7, 2024
Published to the GitHub Advisory Database
Sep 7, 2024
Last updated
Sep 9, 2024
fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the
--allow-fs-read
flag in Node.js 20. This flaw arises from a missing check in thefs.openAsBlob()
API.Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
References