CVE & CISA-KEV Catalog

CVE-2023-23918

HIGHEPSS 79th pctl
7.5
CVSS v3
NVD

Description

A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.

How to fix

Remediation Available
nodejsDebian
Fixed in:18.19.0+dfsg-6~deb12u1CVE-2023-23918
Fixed in:18.19.0+dfsg-2CVE-2023-23918
Fixed in:18.19.0+dfsg-2CVE-2023-23918
nodejsRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.src::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejsRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.src::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-debuginfoRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-debuginfoRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-debugsourceRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-debugsourceRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-develRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
nodejs-develRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
nodejs-docsRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.noarch::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-docsRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.noarch::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-full-i18nRocky
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-full-i18nRed Hat / RHEL
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:18.14.2-2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-libsRocky
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-libsRed Hat / RHEL
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-libs-debuginfoRed Hat / RHEL
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-libs-debuginfoRocky
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
Fixed in:1:16.19.1-1.el9_2RHSA-2023:2655
nodejs-nodemonRocky
Fixed in:0:2.0.20-2.module+el9.2.0.z+18497+a402347c.noarch::nodejs:18RHSA-2023:2654
Fixed in:0:2.0.20-2.module+el9.2.0.z+18497+a402347c.src::nodejs:18RHSA-2023:2654
Fixed in:0:2.0.20-3.el9_2RHSA-2023:2655
Fixed in:0:2.0.20-3.el9_2RHSA-2023:2655
nodejs-nodemonRed Hat / RHEL
Fixed in:0:2.0.20-2.module+el9.2.0.z+18497+a402347c.noarch::nodejs:18RHSA-2023:2654
Fixed in:0:2.0.20-2.module+el9.2.0.z+18497+a402347c.src::nodejs:18RHSA-2023:2654
Fixed in:0:2.0.20-3.el9_2RHSA-2023:2655
Fixed in:0:2.0.20-3.el9_2RHSA-2023:2655
nodejs-packagingRocky
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.noarch::nodejs:18RHSA-2023:2654
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.src::nodejs:18RHSA-2023:2654
nodejs-packagingRed Hat / RHEL
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.noarch::nodejs:18RHSA-2023:2654
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.src::nodejs:18RHSA-2023:2654
nodejs-packaging-bundlerRocky
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.noarch::nodejs:18RHSA-2023:2654
nodejs-packaging-bundlerRed Hat / RHEL
Fixed in:0:2021.06-4.module+el9.1.0+15718+e52ec601.noarch::nodejs:18RHSA-2023:2654
npmRocky
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
npmRed Hat / RHEL
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.s390x::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.x86_64::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.ppc64le::nodejs:18RHSA-2023:2654
Fixed in:1:9.5.0-1.18.14.2.2.module+el9.2.0.z+18497+a402347c.aarch64::nodejs:18RHSA-2023:2654
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Fixed in:1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2655
Node.jsWindows application
Affected:16.0.0 16.19.1Fixed in:16.19.1Node.js Foundation
Affected:18.0.0 18.14.1Fixed in:18.14.1Node.js Foundation
Affected:14.0.0 14.21.3Fixed in:14.21.3Node.js Foundation
Affected:19.0.0 19.6.1Fixed in:19.6.1Node.js Foundation
Node.js (LTS)Windows application
Affected:14.0.0 14.21.3Fixed in:14.21.3Node.js Foundation
Affected:18.0.0 18.14.1Fixed in:18.14.1Node.js Foundation
Affected:19.0.0 19.6.1Fixed in:19.6.1Node.js Foundation
Affected:16.0.0 16.19.1Fixed in:16.19.1Node.js Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

2.02%probability of exploitation in 30 days
79thpercentile

Elevated risk: more likely to be exploited than 79% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-22518Critical9.8100%KEV + RansomFix
CVE-2023-38035Critical9.8100%KEV + Ransom-
CVE-2022-46169Critical9.8100%KEVFix
CVE-2025-29927Critical9.1100%-Fix
CVE-2024-38856Critical9.899%KEVFix
CVE-2020-36289Medium5.399%-Fix
Embed a live status badge for CVE-2023-23918
CVE-2023-23918 severity badge

Markdown

[![CVE-2023-23918](https://tridentstack.com/cve/badge/CVE-2023-23918.svg)](https://tridentstack.com/cve/CVE-2023-23918)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-23918"><img src="https://tridentstack.com/cve/badge/CVE-2023-23918.svg" alt="CVE-2023-23918"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-08.