Public on 2023-06-23
Modified on 2023-06-23
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 the fs.openAsBlob() API.

This vulnerability affects all users using the experimental permission model in Node.js 20.
Medium severity
CVSS v3 Base Score
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2023 nodejs Not Affected
Amazon Linux 2 - Core nodejs-packaging Not Affected
Amazon Linux 2023 nodejs-packaging Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N