2084AI Security Observatory

CVE

CVE-2023-23918

CVE-2023-23918HIGH 7.5EPSS 81%

CNA 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.

Affected versions

All Node.js vulnerabilities →

  • ≥ 19.0.0, < 19.6.1Fixed in 19.6.1
  • ≥ 18.0.0, ≤ 18.11.0Affected up to 18.11.0 — see vendor advisory
  • ≥ 18.0.0, < 18.14.1Fixed in 18.14.1
  • ≥ 16.0.0, ≤ 16.12.0Affected up to 16.12.0 — see vendor advisory
  • ≥ 16.0.0, < 16.19.1Fixed in 16.19.1
  • ≥ 14.0.0, ≤ 14.14.0Affected up to 14.14.0 — see vendor advisory
  • ≥ 14.0.0, < 14.21.3Fixed in 14.21.3

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.