Skip to content
Fencer Vulns
high 7.7

CVE-2023-39331 json

A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6.

published 2023-10-18 3 y ago modified 2026-09-08 2 mo ago also BIT-node-2023-39331 , BIT-node-min-2023-39331 , EUVD-2023-43062

cvss
7.7
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the implementation does not protect itself against the application overwriting built-in utility functions with user-defined implementations.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Patch / fix

  • bitnami node 20.8.1
  • bitnami node-min 20.8.1
  • NodeJS Node 20.8.1
  • npm RHEL 8 1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824
  • nodejs RHEL 8 1:20.8.1-1.module+el8.9.0+20473+c4e3d824
  • nodejs-nodemon RHEL 8 3.0.1-1.module+el8.9.0+20473+c4e3d824
  • nodejs-full-i18n RHEL 8 1:20.8.1-1.module+el8.9.0+20473+c4e3d824
  • nodejs-packaging RHEL 8 2021.06-4.module+el8.9.0+19519+e25b965a
  • nodejs-packaging-bundler RHEL 8 2021.06-4.module+el8.9.0+19519+e25b965a

red hat advisories RHSA-2023:7205

  • nodejs20 openSUSE Tumbleweed 20.8.1-1.1

opensuse advisories openSUSE-SU-2024:13337-1

  • npm AlmaLinux 8 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9
  • nodejs AlmaLinux 8 1:20.8.1-1.module_el8.9.0+3675+0258a6d9
  • nodejs-nodemon AlmaLinux 8 3.0.1-1.module_el8.9.0+3675+0258a6d9
  • nodejs-full-i18n AlmaLinux 8 1:20.8.1-1.module_el8.9.0+3675+0258a6d9
  • nodejs-packaging AlmaLinux 8 2021.06-4.module_el8.9.0+3684+11b9e959
  • nodejs-packaging-bundler AlmaLinux 8 2021.06-4.module_el8.9.0+3684+11b9e959

almalinux advisories ALSA-2023:7205

  • nodejs-nodemon Rocky Linux 8 3.0.1-1.module+el8.8.0+1459+02651ab6
  • nodejs-packaging Rocky Linux 8 2021.06-4.module+el8.7.0+1072+5b168780

rocky linux advisories RLSA-2023:7205

  • nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 20.8.1-r0

alpine advisories ALPINE-CVE-2023-39331

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-39331 updated cvss 7.5

nodejs: permission model improperly protects against path traversal

  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 20.8.1-1.module+el8.9.0+20473+c4e3d824, npm 10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824, nodejs-nodemon 3.0.1-1.module+el8.9.0+20473+c4e3d824, nodejs-full-i18n 20.8.1-1.module+el8.9.0+20473+c4e3d824, nodejs-packaging 2021.06-4.module+el8.9.0+19519+e25b965a, nodejs-packaging-bundler 2021.06-4.module+el8.9.0+19519+e25b965a
    fixed: vendor fix RHSA-2023:7205
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Software Collections rh-nodejs14-npm, rh-nodejs14-nodejs, rh-nodejs14-nodejs-full-i18n
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 7.7 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami node
>=20.0.0, <20.8.1
20.8.1
bitnami node-min
>=20.0.0, <20.8.1
20.8.1

Affected products

  • NodeJS Node

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.