CVE-2023-30586
JSON

7.5high

A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission m…

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.35% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2023-30586BIT-NODE-MIN-2023-30586

Description

A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The attack complexity is high. However, the crypto.setEngine() API can be used to bypass the permission model when called with a compatible OpenSSL engine. The OpenSSL engine can, for example, disable the permission model in the host process by manipulating the process's stack memory to locate the permission model Permission::enabled_ in the host process's heap memory. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 7 moreCVE List
nodejs node.jsfrom 20.0.0 before 20.3.1NVD
node (Bitnami)from 20.0.0 before 20.3.1Bitnami Vulnerability Database
node-min (Bitnami)from 20.0.0 before 20.3.1Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-30586 changed 2025-05-08CVE Terms of Use
NVDCVE-2023-30586 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2023-30586 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2023-30586 changed 2026-09-08Apache-2.0