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 package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 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 more | CVE List |
| nodejs node.js | from 20.0.0 before 20.3.1 | NVD |
| node (Bitnami) | from 20.0.0 before 20.3.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 20.0.0 before 20.3.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://hackerone.com/reports/1954535 | advisory, issue-tracking, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20230803-0008/ | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-30586 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30586 changed 2025-05-08 | CVE Terms of Use |
| NVD | CVE-2023-30586 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2023-30586 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2023-30586 changed 2026-09-08 | Apache-2.0 |