ADVISORIES

CVE Program

CNA-CVE-2023-30587

Details

A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspector module (node:inspector).

By exploiting the Worker class's ability to create an "internal worker" with the kIsInternal Symbol, attackers can modify the isInternal value when an inspector is attached within the Worker constructor before initializing a new WorkerImpl. This vulnerability exclusively affects Node.js users employing the permission model mechanism.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Affected packages

EcosystemPackageAffected versions
Node.jsnode
From 4.0 before 5
From 5.0 before 6
From 6.0 before 7
From 7.0 before 8
From 8.0 before 9
From 9.0 before 10
From 10.0 before 11
From 11.0 before 12
From 12.0 before 13
From 13.0 before 14
From 14.0 before 15
From 15.0 before 16
From 17.0 before 18
From 19.0 before 20
From 20.0 before 20.3.1 (fixed in 20.3.1)

References