Bug 2219833 (CVE-2023-30583)

Summary: CVE-2023-30583 nodejs: fs.openAsBlob bypass in experimental permission model
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: hhorak, jorton, nodejs-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability has been identified in Node.js version 20, where 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2220734, 2220735, 2220740, 2220741, 2220730, 2220731, 2220732, 2220733, 2220736, 2220737, 2220738, 2220739, 2220742, 2220743, 2220744, 2220745, 2220746, 2220747    
Bug Blocks: 2217661    

Description Dhananjay Arunesh 2023-07-05 14:56:33 UTC
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.

References:
https://nodejs.org/en/blog/vulnerability/june-2023-security-releases

Comment 1 Dhananjay Arunesh 2023-07-06 05:14:49 UTC
Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 2220735]
Affects: fedora-all [bug 2220733]


Created nodejs:14/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220732]


Created nodejs:16-epel/nodejs tracking bugs for this issue:

Affects: epel-all [bug 2220734]


Created nodejs:16/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220731]


Created nodejs:18/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220730]

Comment 2 Dhananjay Arunesh 2023-07-06 05:15:37 UTC
Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 2220741]
Affects: fedora-all [bug 2220739]


Created nodejs:14/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220738]


Created nodejs:16-epel/nodejs tracking bugs for this issue:

Affects: epel-all [bug 2220740]


Created nodejs:16/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220737]


Created nodejs:18/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2220736]