CVE-2023-30586
Node.js vulnerability analysis and mitigation

Overview

A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled. The vulnerability, tracked as CVE-2023-30586, was discovered in Node.js version 20.0.0 and affects the experimental permission model feature. The issue was patched in Node.js version 20.3.1, released in June 2023 (Node Blog).

Technical details

The vulnerability allows loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. Specifically, the crypto.setEngine() API can be used to bypass the permission model when called with a compatible OpenSSL engine. The OpenSSL engine can disable the permission model in the host process by manipulating the process's stack memory to locate the Permission::enabled_ in the host process's heap memory. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD).

Impact

Successful exploitation of this vulnerability could lead to privilege escalation, allowing attackers to bypass and disable the experimental permission model. This could result in unauthorized access and modification of data that should be restricted by the permission model (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Node.js version 20.3.1. Users are advised to upgrade to this version or later to address the issue. It's important to note that this vulnerability only affects systems using the experimental permission model feature in Node.js 20 (Node Blog).

Additional resources


SourceThis report was generated using AI

Related Node.js vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64756HIGH7.5
  • JavaScriptJavaScript
  • rhel8::python-39
NoYesNov 17, 2025
CVE-2025-27210HIGH7.5
  • Node.jsNode.js
  • nodejs
NoYesJul 18, 2025
CVE-2025-27209HIGH7.5
  • Node.jsNode.js
  • cpe:2.3:a:nodejs:node.js
NoYesJul 18, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • nodejs:22::nodejs-devel
NoYesJul 29, 2025
CVE-2025-52099N/AN/A
  • SQLiteSQLite
  • rust-toolset
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management