{"id":"CVE-2023-30586","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2023-06-30T23:40:08.238Z","updatedAt":"2025-05-08T16:14:11.957Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"hackerone","products":["NodeJS Node"],"affected":[{"vendor":"NodeJS","product":"Node","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThan":"4.*","versionType":"semver"},{"version":"5.0","status":"affected","lessThan":"5.*","versionType":"semver"},{"version":"6.0","status":"affected","lessThan":"6.*","versionType":"semver"},{"version":"7.0","status":"affected","lessThan":"7.*","versionType":"semver"},{"version":"8.0","status":"affected","lessThan":"8.*","versionType":"semver"},{"version":"9.0","status":"affected","lessThan":"9.*","versionType":"semver"},{"version":"10.0","status":"affected","lessThan":"10.*","versionType":"semver"},{"version":"11.0","status":"affected","lessThan":"11.*","versionType":"semver"},{"version":"12.0","status":"affected","lessThan":"12.*","versionType":"semver"},{"version":"13.0","status":"affected","lessThan":"13.*","versionType":"semver"},{"version":"14.0","status":"affected","lessThan":"14.*","versionType":"semver"},{"version":"15.0","status":"affected","lessThan":"15.*","versionType":"semver"},{"version":"17.0","status":"affected","lessThan":"17.*","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.*","versionType":"semver"},{"version":"20.0","status":"affected","lessThan":"20.3.1","versionType":"semver"}]}],"references":["https://hackerone.com/reports/1954535","https://security.netapp.com/advisory/ntap-20230803-0008/"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/30xxx/CVE-2023-30586.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-30586","state":"PUBLISHED","datePublished":"2023-06-30T23:40:08.238Z","dateUpdated":"2025-05-08T16:14:11.957Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2023-04-13T01:00:12.086Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"NodeJS","product":"Node","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThan":"4.*","versionType":"semver"},{"version":"5.0","status":"affected","lessThan":"5.*","versionType":"semver"},{"version":"6.0","status":"affected","lessThan":"6.*","versionType":"semver"},{"version":"7.0","status":"affected","lessThan":"7.*","versionType":"semver"},{"version":"8.0","status":"affected","lessThan":"8.*","versionType":"semver"},{"version":"9.0","status":"affected","lessThan":"9.*","versionType":"semver"},{"version":"10.0","status":"affected","lessThan":"10.*","versionType":"semver"},{"version":"11.0","status":"affected","lessThan":"11.*","versionType":"semver"},{"version":"12.0","status":"affected","lessThan":"12.*","versionType":"semver"},{"version":"13.0","status":"affected","lessThan":"13.*","versionType":"semver"},{"version":"14.0","status":"affected","lessThan":"14.*","versionType":"semver"},{"version":"15.0","status":"affected","lessThan":"15.*","versionType":"semver"},{"version":"17.0","status":"affected","lessThan":"17.*","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.*","versionType":"semver"},{"version":"20.0","status":"affected","lessThan":"20.3.1","versionType":"semver"}]}],"references":[{"url":"https://hackerone.com/reports/1954535"},{"url":"https://security.netapp.com/advisory/ntap-20230803-0008/"}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2025-04-30T22:24:54.167Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1954535","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230803-0008/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:28:51.808Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T18:27:16.523763Z","id":"CVE-2023-30586","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","type":"CWE","lang":"en","description":"CWE-862 Missing Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-08T16:14:11.957Z"}}]}}}