CVE-2023-39331
nodejs: permission model improperly protects against path traversal
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-22
Affected packages · 2
Operating systems · 24 fixes
Oracle Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:10.1.0-1.20.8.1.1.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs +3 | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+90082+b6a613a6 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | nodejs +1 | 18.18.2-1.ph5 |
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nodejs:20) | nodejs-packaging +1 | 0:2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2023:7205 |
| 8 (nodejs:20) | nodejs-nodemon | 0:3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:7205 |
| 8 (nodejs:20) | npm | 1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:7205 |
| 8 (nodejs:20) | nodejs +3 | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:7205 |
alma 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:20) | npm | 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9 |
| 8 (nodejs:20) | nodejs +3 | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 |
| 8 (nodejs:20) | nodejs-packaging +1 | 2021.06-4.module_el8.9.0+3684+11b9e959 |
| 8 (nodejs:20) | nodejs-nodemon | 3.0.1-1.module_el8.9.0+3675+0258a6d9 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs-current | 20.8.1-r0 |
| 3.23 | nodejs-current | 20.8.1-r0 |
| 3.24 | nodejs-current | 20.8.1-r0 |
| edge | nodejs-current | 20.8.1-r0 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 +1 | not affected | |
| nodejs-20 | 20.8.0-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack20 +4 | 20.8.1-1.1 | openSUSE-SU-2024:13337-1 |
rocky 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:18) | nodejs-packaging +1 | 2021.06-4.module+el8.7.0+1072+5b168780 |
| 8 (nodejs:18) | nodejs-nodemon | 3.0.1-1.module+el8.8.0+1459+02651ab6 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 +1 | not affected | |
| nodejs-20 | 20.8.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7205
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-39331
- bugzilla.redhat.com https://bugzilla.redhat.com/2242803
- bugzilla.redhat.com https://bugzilla.redhat.com/2244104
- bugzilla.redhat.com https://bugzilla.redhat.com/2244413
- bugzilla.redhat.com https://bugzilla.redhat.com/2244414
- bugzilla.redhat.com https://bugzilla.redhat.com/2244415
- bugzilla.redhat.com https://bugzilla.redhat.com/2244418
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2242803
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244104
Show all 30 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244413
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244414
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244415
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244418
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38552
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39331
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39332
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39333
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-44487
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45143
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2023-7205.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:7205
- hackerone.com https://hackerone.com/reports/2092852
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-39331.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-7205.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-39331
- security.netapp.com https://security.netapp.com/advisory/ntap-20231116-0009/
- security.netapp.com https://security.netapp.com/advisory/ntap-20241108-0002/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-39331
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.