Skip to content

CVE-2023-30586 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 permissi...

HighCVSS 7.5 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
OpenSSLDebian

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
nodejs node >= 4.0; >= 5.0; >= 6.0; >= 7.0 +11 more 20.3.1 Partially fixed
nodejs node.js >= 20.0.0, < 20.3.1 20.3.1 Fixed

Affected products

ProductAffected versionsFixed in
nodejs node >= 4.0 No fix listed
nodejs node >= 5.0 No fix listed
nodejs node >= 6.0 No fix listed
nodejs node >= 7.0 No fix listed
nodejs node >= 8.0 No fix listed
nodejs node >= 9.0 No fix listed
nodejs node >= 10.0 No fix listed
nodejs node >= 11.0 No fix listed
nodejs node >= 12.0 No fix listed
nodejs node >= 13.0 No fix listed
nodejs node >= 14.0 No fix listed
nodejs node >= 15.0 No fix listed
nodejs node >= 17.0 No fix listed
nodejs node >= 19.0 No fix listed
nodejs node >= 20.0, < 20.3.1 20.3.1
nodejs node.js >= 20.0.0, < 20.3.1 20.3.1

References