CVE-2023-39332 Details
Description
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects. This is distinct from CVE-2023-32004 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 13, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackerone.com/reports/2199818 | CVE | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/ | CVE | Mailing List |
| https://security.netapp.com/advisory/ntap-20231116-0009/ | CVE | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20241108-0002/ | CVE | |
| https://hackerone.com/reports/2199818 | [email protected] | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/ | [email protected] | Mailing List |
| https://security.netapp.com/advisory/ntap-20231116-0009/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nodejs node.js | >= 20.0.0, < 20.8.0 |
CPE
Remediation
| |
| fedoraproject fedora | 39 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 17, 2023 | Modified Analysis | [email protected] |
| Nov 16, 2023 | CVE Modified | [email protected] |
| Nov 3, 2023 | CVE Modified | [email protected] |
| Nov 3, 2023 | CVE Modified | [email protected] |
| Oct 26, 2023 | CVE Modified | [email protected] |
| Oct 26, 2023 | CVE Modified | [email protected] |
| Oct 25, 2023 | Initial Analysis | [email protected] |