fs.openAsBlob() Vulnerability Allows Bypass of Experimental Permission Model in Node.js 20
CVE-2023-30583

7.5HIGH

Key Information:

Vendor

Nodejs

Status
Vendor
CVE Published:
7 September 2024

What is CVE-2023-30583?

A vulnerability has been identified in Node.js that affects the fs.openAsBlob() API, which can bypass the experimental permission model intended for file system read restrictions. This issue occurs when the --allow-fs-read flag is enabled, leading to unauthorized access to the file system. As this permission model is still experimental, the missing validation check in the fs.openAsBlob() function presents potential security risks for applications using Node.js 20, which could allow attackers to exploit file system operations without adequate permissions.

Affected Version(s)

Node 4.0 < 4.*

Node 5.0 < 5.*

Node 6.0 < 6.*

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.