CVE-2023-30586

Source
https://cve.org/CVERecord?id=CVE-2023-30586
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30586.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30586
Aliases
Downstream
CGA (2)
MGASA (1)
openSUSE (1)
Related
Published
2023-06-30T23:40:08Z
Modified
2026-08-12T03:51:29Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "hackerone",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30586.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "4.0"
                },
                {
                    "fixed":  "4.*"
                },
                {
                    "introduced":  "5.0"
                },
                {
                    "fixed":  "5.*"
                },
                {
                    "introduced":  "6.0"
                },
                {
                    "fixed":  "6.*"
                },
                {
                    "introduced":  "7.0"
                },
                {
                    "fixed":  "7.*"
                },
                {
                    "introduced":  "8.0"
                },
                {
                    "fixed":  "8.*"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "fixed":  "9.*"
                },
                {
                    "introduced":  "10.0"
                },
                {
                    "fixed":  "10.*"
                },
                {
                    "introduced":  "11.0"
                },
                {
                    "fixed":  "11.*"
                },
                {
                    "introduced":  "12.0"
                },
                {
                    "fixed":  "12.*"
                },
                {
                    "introduced":  "13.0"
                },
                {
                    "fixed":  "13.*"
                },
                {
                    "introduced":  "14.0"
                },
                {
                    "fixed":  "14.*"
                },
                {
                    "introduced":  "15.0"
                },
                {
                    "fixed":  "15.*"
                },
                {
                    "introduced":  "17.0"
                },
                {
                    "fixed":  "17.*"
                },
                {
                    "introduced":  "19.0"
                },
                {
                    "fixed":  "19.*"
                },
                {
                    "introduced":  "20.0"
                },
                {
                    "fixed":  "20.3.1"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/nodejs/node

Affected ranges

Type
GIT
Repo
https://github.com/nodejs/node
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "20.0.0"
        },
        {
            "fixed":  "20.3.1"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v20.*
v20.0.0
v20.1.0
v20.2.0
v20.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30586.json"