Directory Traversal Affecting nodejs-devel package, versions <1:20.8.1-1.module+el8.9.0+90082+b6a613a6
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-NODEJSDEVEL-6083998
- published 24 Nov 2023
- disclosed 18 Oct 2023
Introduced: 18 Oct 2023
CVE-2023-39332 Open this link in a new tabHow to fix?
Upgrade Oracle:8
nodejs-devel
to version 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 or higher.
This issue was patched in ELSA-2023-7205
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs-devel
package and not the nodejs-devel
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
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.
References
- https://linux.oracle.com/cve/CVE-2023-39332.html
- https://linux.oracle.com/errata/ELSA-2023-7205.html
- https://hackerone.com/reports/2199818
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/
- https://security.netapp.com/advisory/ntap-20231116-0009/