CVE-2023-39332
Last modified
CVE-2023-39332 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. EPSS estimates a 1.82% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 20.0.0, < 20.8.0 |
| Fedoraproject | Fedora | 39 |
References
- https://hackerone.com/reports/2199818Third Party Advisory
- https://security.netapp.com/advisory/ntap-20231116-0009/Third Party Advisory
- https://hackerone.com/reports/2199818Third Party Advisory
- https://security.netapp.com/advisory/ntap-20231116-0009/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-39332?
How severe is CVE-2023-39332?
How do I fix CVE-2023-39332?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-39326A malicious HTTP sender can use chunk extensions to cause a …5.3
- CVE-2023-39327A flaw was found in OpenJPEG. Maliciously constructed pictur…4.3
- CVE-2023-39328A vulnerability was found in OpenJPEG similar to CVE-2019-69…5.5
- CVE-2023-39329A flaw was found in OpenJPEG. A resource exhaustion can occu…6.5
- CVE-2023-3933The Your Journey theme for WordPress is vulnerable to Reflec…6.1
- CVE-2023-39331A previously disclosed vulnerability (CVE-2023-30584) was pa…7.5
- CVE-2023-39333Maliciously crafted export names in an imported WebAssembly …5.3
- CVE-2023-39335A security vulnerability has been identified in EPMM Version…9.8
- CVE-2023-39336An unspecified SQL Injection vulnerability in Ivanti Endpoin…8.8
- CVE-2023-39337A security vulnerability in EPMM Versions 11.10, 11.9 and 11…9.1
- CVE-2023-39338Enables an authenticated user (enrolled device) to access a …6.8
- CVE-2023-39339A vulnerability exists on all versions of Ivanti Policy Secu…4.9
Are you affected by CVE-2023-39332?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
